fix:增加type

This commit is contained in:
wyx
2023-03-03 11:08:16 +08:00
parent 896a7c9c78
commit d64f2ee345

View File

@@ -87,7 +87,7 @@
import {useTaskPage} from "@/api/useCommon";
const {
query: {courseId, pName, sName, chapterOrStageId, infoId, id, exname, btype},
query: {courseId, pName, sName, chapterOrStageId, infoId, id, exname, btype, type},
} = useRoute();
const {nextPage,prevPage,hasPrev, hasNext} = useTaskPage()
const router = useRouter();
@@ -100,7 +100,7 @@
})
//获取测评基本信息
useRequest(QueryEvaluationDetailById(courseId), {}, (e)=>{
useRequest(QueryEvaluationDetailById(courseId), {type}, (e)=>{
console.log(e)
state.datainfo = e.data
console.log('我是获取的外链基本信息12', state.dataInfo)