From 64b432916af9c9218ab3f3eca614e26c542142ae Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 07 十一月 2023 15:47:13 +0800
Subject: [PATCH] bug
---
h5_standard/src/views/tabPage/toBeHandled.vue | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/h5_standard/src/views/tabPage/toBeHandled.vue b/h5_standard/src/views/tabPage/toBeHandled.vue
index 0fc2b4b..e1c00aa 100644
--- a/h5_standard/src/views/tabPage/toBeHandled.vue
+++ b/h5_standard/src/views/tabPage/toBeHandled.vue
@@ -58,7 +58,7 @@
</template>
<script setup lang="ts">
- import { reactive, ref, onMounted, getCurrentInstance } from 'vue'
+ import { reactive, ref, onMounted, onActivated, getCurrentInstance } from 'vue'
import { useRouter } from 'vue-router'
import { useStore } from 'vuex'
import { judgmentPlatform } from "@/utils/utils"
@@ -270,11 +270,14 @@
list.value.push(...res.data.records)
} else {
finished.value = true
+ loading.value = false
}
}).catch(err => {
refreshing.value = false
loading.value = false
finished.value = true
+ }).finally(() => {
+ loading.value = false
})
}
one.value = true
@@ -305,10 +308,17 @@
await proxy.$onWait;
onLoad()
// pageCounts()
+ // await store.dispatch('getUpcomingNum')
+ // tagList[0].num = store.state.upcomingNum.d
+ // tagList[1].num = store.state.upcomingNum.y
+ status.value = judgmentPlatform()
+ })
+
+ onActivated(async() => {
+ await proxy.$onWait;
await store.dispatch('getUpcomingNum')
tagList[0].num = store.state.upcomingNum.d
tagList[1].num = store.state.upcomingNum.y
- status.value = judgmentPlatform()
})
// const info = reactive({
--
Gitblit v1.9.3