mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-10 19:36:48 +08:00
日志
This commit is contained in:
@@ -101,14 +101,29 @@
|
|||||||
request(LINKGETONE, {linkId:courseId}).then(res=>{
|
request(LINKGETONE, {linkId:courseId}).then(res=>{
|
||||||
console.log("我是获取的外链基本信息1",res)
|
console.log("我是获取的外链基本信息1",res)
|
||||||
state.datainfo = res.data
|
state.datainfo = res.data
|
||||||
|
console.log("我是获取的外链基本信息2",state.datainfo)
|
||||||
}).catch(err=>{
|
}).catch(err=>{
|
||||||
console.log(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);
|
window.open(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user