From c5c6fa800cedd37cea0e3cc3e68df78b47ee2813 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 28 八月 2023 10:37:59 +0800
Subject: [PATCH] 111
---
h5_standard/src/views/tabPage/toBeHandled.vue | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/h5_standard/src/views/tabPage/toBeHandled.vue b/h5_standard/src/views/tabPage/toBeHandled.vue
index 0fc2b4b..4da7c81 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"
@@ -275,6 +275,8 @@
refreshing.value = false
loading.value = false
finished.value = true
+ }).finally(() => {
+ loading.value = false
})
}
one.value = true
@@ -305,10 +307,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