mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-16 14:26:47 +08:00
feat:修改传参
This commit is contained in:
@@ -102,18 +102,9 @@ const returnclick = () => {
|
||||
router.back();
|
||||
};
|
||||
const {
|
||||
query: {
|
||||
courseId: workId,
|
||||
type,
|
||||
id: taskId,
|
||||
pName,
|
||||
sName,
|
||||
projectStatus,
|
||||
projectEndTime,
|
||||
infoId,
|
||||
},
|
||||
query: { courseId: workId, type, id: taskId, infoId },
|
||||
} = useRoute();
|
||||
console.log("type", type);
|
||||
// console.log("type", type);
|
||||
const { data } =
|
||||
taskId && taskId !== "undefined"
|
||||
? useRequest(TASK_WORK_DETAIL, { workId, taskId })
|
||||
|
||||
Reference in New Issue
Block a user