riku
2023-07-20 d22ce1ad1c4656f5c2212bbabb35ba498300aced
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { imgUrl } from '@/api/clue/index';
 
function getClueQuestion(data) {
  data.cqFilePath = data.cqFilePath.split(';').map((val) => {
    return imgUrl + val;
  });
  return data;
}
 
function getClueQuestionList(dataList) {
  return dataList.map((v) => {
    return getClueQuestion(v);
  });
}
 
export { getClueQuestion, getClueQuestionList };