feat:修改传参

This commit is contained in:
lixg
2023-02-08 09:49:15 +08:00
parent 5f60601581
commit 0691c96083
10 changed files with 42 additions and 59 deletions

View File

@@ -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 })