mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-19 07:46:48 +08:00
feat:修改任务接口传参
This commit is contained in:
@@ -117,7 +117,7 @@ const {
|
||||
// console.log("type", type);
|
||||
const { data } =
|
||||
taskId && taskId !== "undefined"
|
||||
? useRequest(TASK_WORK_DETAIL, { workId, taskId }, (e) => {
|
||||
? useRequest(TASK_WORK_DETAIL, { workId, taskId, type }, (e) => {
|
||||
if (e.code === 6) {
|
||||
console.log("作业判断", e);
|
||||
router.push({
|
||||
@@ -125,7 +125,7 @@ const { data } =
|
||||
});
|
||||
}
|
||||
})
|
||||
: useRequest(TASK_WORK_DETAIL, { workId }, (e) => {
|
||||
: useRequest(TASK_WORK_DETAIL, { workId, type }, (e) => {
|
||||
if (e.code === 6) {
|
||||
console.log("作业判断", e);
|
||||
router.push({
|
||||
|
||||
Reference in New Issue
Block a user