Merge branch 'zcwy-zsx' into 'master'

Zcwy zsx

See merge request !54
This commit is contained in:
joshen
2024-05-31 20:06:41 +08:00
2 changed files with 6 additions and 3 deletions

View File

@@ -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%">

View File

@@ -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);
})
// 查看外链