import { $clue } from '@/api/index';
|
|
function getClueQuestion(data) {
|
data.cqFilePath = data.cqFilePath.split(';').map((val) => {
|
return $clue.imgUrl + val;
|
});
|
return data;
|
}
|
|
function getClueQuestionList(dataList) {
|
return dataList.map((v) => {
|
return getClueQuestion(v);
|
});
|
}
|
|
export { getClueQuestion, getClueQuestionList };
|