|
@@ -26,6 +26,7 @@ export default defineComponent({
|
|
|
const pageVisibility = usePageVisibility()
|
|
|
/** 页面显示和隐藏 */
|
|
|
watch(pageVisibility, (value) => {
|
|
|
+ console.log("🚀 ~ value:", value)
|
|
|
if (value == 'hidden') {
|
|
|
isLoading.value = false
|
|
|
}
|
|
@@ -80,6 +81,8 @@ export default defineComponent({
|
|
|
statusBarTextColor: false,
|
|
|
isOpenLight: true
|
|
|
}
|
|
|
+ }, () => {
|
|
|
+ isLoading.value = false
|
|
|
})
|
|
|
}
|
|
|
|