bug
jiangping
2023-11-07 64b432916af9c9218ab3f3eca614e26c542142ae
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({