|
@@ -216,16 +216,17 @@ onMounted(async () => {
|
|
})
|
|
})
|
|
})
|
|
})
|
|
onShow(async () => {
|
|
onShow(async () => {
|
|
|
|
+ await setBanners()
|
|
|
|
+ pieces.value[0].path = `/pages-sub/home/study-tour/list?designStudyAbroadYear=${banners.value[0].designStudyAbroadYear}&designDesc=${banners.value[0].designDesc}`
|
|
|
|
+ console.log(pieces.value)
|
|
if (isLogined.value) {
|
|
if (isLogined.value) {
|
|
await run()
|
|
await run()
|
|
- await setBanners()
|
|
|
|
|
|
+
|
|
setUserInfo({
|
|
setUserInfo({
|
|
...userInfo.value,
|
|
...userInfo.value,
|
|
...data.value,
|
|
...data.value,
|
|
})
|
|
})
|
|
- await Promise.all([setDesignerInfo(), getTaskData(), setTaskStatus(), setStatistics()])
|
|
|
|
- pieces.value[0].path = `/pages-sub/home/study-tour/list?designStudyAbroadYear=${banners.value[0].designStudyAbroadYear}&designDesc=${banners.value[0].designDesc}`
|
|
|
|
- console.log(taskStatusData.value)
|
|
|
|
|
|
+ await Promise.all([setDesignerInfo(), getTaskData(), setTaskStatus(), setStatistics()])
|
|
}
|
|
}
|
|
})
|
|
})
|
|
onPageScroll(({ scrollTop }: { scrollTop: number }) => {
|
|
onPageScroll(({ scrollTop }: { scrollTop: number }) => {
|