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

@@ -72,17 +72,17 @@ const {
status,
chapterOrStageId,
infoId,
studentId,
},
} = useRoute();
const router = useRouter();
console.log("外链信息", linkId);
const { data } = useRequest(LINK_DETAILS(linkId));
console.log("外链信息", data);
const userInfo = computed(() => store.state.userInfo);
const goOuterChain = () => {
status != 1 &&
request(STUDY_RECORD, {
studentId: studentId,
studentId: userInfo.value.id,
targetId: infoId,
logo: type,
stageOrChapterId: chapterOrStageId,