mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-10 11:26:48 +08:00
feat:修改跳转等问题
This commit is contained in:
@@ -425,11 +425,12 @@ const downloads = (url) => {
|
||||
};
|
||||
|
||||
function formateArr(strs) {
|
||||
console.log("strs", strs);
|
||||
let newArr = [];
|
||||
try {
|
||||
newArr = JSON.parse(strs);
|
||||
} catch {
|
||||
newArr = strs.split(",");
|
||||
newArr = strs ? strs.split(",") : [];
|
||||
}
|
||||
console.log("112233", newArr);
|
||||
return newArr;
|
||||
@@ -580,7 +581,10 @@ function toExamItem(obj) {
|
||||
}
|
||||
console.log("obj", obj.examinationTestId);
|
||||
window.open(
|
||||
import.meta.env.VITE_BOE_EXAM_DETAIL_URL + obj.examinationTestId,
|
||||
window.location.protocol +
|
||||
import.meta.env.VITE_BOE_EXAM_DETAIL_URL +
|
||||
"/mobile/pages/exam/exam?id=" +
|
||||
obj.examinationTestId,
|
||||
"_top"
|
||||
); //测评
|
||||
// router.push({ path: import.meta.env.VITE_BOE_EXAM_DETAIL_URL+ obj.examinationTestId });
|
||||
|
||||
Reference in New Issue
Block a user