From a5b538a98a229345d0ca453be7b7756222cd5c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=9C=E8=BF=9B1?= <963286636@qq.com> Date: Sun, 26 Feb 2023 13:44:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/testscore/OuterChain.vue | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/views/testscore/OuterChain.vue b/src/views/testscore/OuterChain.vue index 80adf91..fcf5dad 100644 --- a/src/views/testscore/OuterChain.vue +++ b/src/views/testscore/OuterChain.vue @@ -101,14 +101,29 @@ request(LINKGETONE, {linkId:courseId}).then(res=>{ console.log("我是获取的外链基本信息1",res) state.datainfo = res.data + console.log("我是获取的外链基本信息2",state.datainfo) }).catch(err=>{ console.log(err) }); - console.log('我是获取的外链基本信息5', state.dataInfo) - + + // 查看外链 - const handleClick = (url) => { + const handleClick = async(url) => { + console.log('我是获取的外链基本信息5', state.dataInfo) + console.log('我是获取的外链基本信息6', state) + // await request(UPDATE_CURRENT_TASK, { id: d.id, type: PROJECT, pid: projectId, name: d.name }) + // if ( d.type == 7 ) { + // d.status !== 1 && await request(STUDY_RECORD, { + // studentId: userInfo.value.id, + // targetId: data.value.routerId, + // logo: PROJECT, + // type: PROJECT, + // stageOrChapterId: chapterOrStageId, + // taskId: d.id, + // taskType: d.type, + // }); + // } window.open(url); }