mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-11 03:46:48 +08:00
@@ -26,7 +26,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="i.id == '0' && i.taskProcessList?.length == 0"></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)
|
(e) => !whiteTypes(e.type)
|
||||||
)" :key="index">
|
)" :key="index">
|
||||||
<div style="width: 70%">
|
<div style="width: 70%">
|
||||||
|
|||||||
@@ -82,7 +82,7 @@
|
|||||||
LEARN,
|
LEARN,
|
||||||
NOLOGINURL
|
NOLOGINURL
|
||||||
} from "@/api/api";
|
} from "@/api/api";
|
||||||
import {ref,computed} from "vue";
|
import {ref,computed,onMounted} from "vue";
|
||||||
import {useRoute,useRouter} from "vue-router/dist/vue-router";
|
import {useRoute,useRouter} from "vue-router/dist/vue-router";
|
||||||
import {useTaskPage} from "@/api/useCommon";
|
import {useTaskPage} from "@/api/useCommon";
|
||||||
import { useStore } from "vuex";
|
import { useStore } from "vuex";
|
||||||
@@ -106,7 +106,9 @@
|
|||||||
}).catch(err=>{
|
}).catch(err=>{
|
||||||
console.log(err)
|
console.log(err)
|
||||||
});
|
});
|
||||||
|
onMounted(()=>{
|
||||||
|
window.scrollTo(0, 0);
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
// 查看外链
|
// 查看外链
|
||||||
|
|||||||
Reference in New Issue
Block a user