mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-08 02:16:47 +08:00
@@ -26,7 +26,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="i.id == '0' && i.taskProcessList?.length == 0"></div>
|
||||
<div v-else class="course" v-for="(value, index) in (i.taskProcessList.sort((a, b) => { return a.id - b.id; })).filter(
|
||||
<!--去掉阶段内按id排序,以接口返回顺序排序 .sort((a, b) => { return a.id - b.id; })-->
|
||||
<div v-else class="course" v-for="(value, index) in (i.taskProcessList).filter(
|
||||
(e) => !whiteTypes(e.type)
|
||||
)" :key="index">
|
||||
<div style="width: 70%">
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
LEARN,
|
||||
NOLOGINURL
|
||||
} from "@/api/api";
|
||||
import {ref,computed} from "vue";
|
||||
import {ref,computed,onMounted} from "vue";
|
||||
import {useRoute,useRouter} from "vue-router/dist/vue-router";
|
||||
import {useTaskPage} from "@/api/useCommon";
|
||||
import { useStore } from "vuex";
|
||||
@@ -106,7 +106,9 @@
|
||||
}).catch(err=>{
|
||||
console.log(err)
|
||||
});
|
||||
|
||||
onMounted(()=>{
|
||||
window.scrollTo(0, 0);
|
||||
})
|
||||
|
||||
|
||||
// 查看外链
|
||||
|
||||
Reference in New Issue
Block a user