From a89fe32c353040bbb95d7519cf7bafc4b5934f10 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期三, 06 九月 2023 09:54:14 +0800
Subject: [PATCH] 小程序
---
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