|  |  |  | 
|---|
|  |  |  | </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" | 
|---|
|  |  |  | 
|---|
|  |  |  | refreshing.value = false | 
|---|
|  |  |  | loading.value = false | 
|---|
|  |  |  | finished.value = true | 
|---|
|  |  |  | }).finally(() => { | 
|---|
|  |  |  | loading.value = false | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | one.value = true | 
|---|
|  |  |  | 
|---|
|  |  |  | 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({ | 
|---|