返回按钮,按钮文字

This commit is contained in:
zhangyc
2022-12-16 18:02:34 +08:00
parent 9e65bde6cd
commit 47af6bd4c8
14 changed files with 38 additions and 14 deletions

View File

@@ -317,6 +317,9 @@ const {
query: {courseId, projectId},
} = useRoute();
const router = useRouter();
const returnclick = () => {
router.back();
};
const {data} = useRequest(PROJECT_PROCESS, {projectId: projectId || courseId});
const userInfo = computed(() => store.state.userInfo);
@@ -346,13 +349,13 @@ const types = ref({
toName: {
1: "去上课",
2: "去上课",
3: "案例",
3: "去阅读",
4: "去完成",
5: "去完成",
6: "去签到",
7: "外链",
6: "去观看",
7: "去查看",
8: "去讨论",
9: "去完成",
9: "去签到",
10: "去完成",
11: "去完成",
12: "去投票",