霸王餐更改

This commit is contained in:
wwz
2025-03-25 21:58:59 +08:00
parent 1169e300df
commit 3a6fa55234
14 changed files with 130 additions and 100 deletions

27
App.vue
View File

@@ -6,7 +6,8 @@
APIgeocodelocation
} from "@/common/api/api.js"
import {
onLaunch
onLaunch,
onShow
} from '@dcloudio/uni-app';
import {
getCurrentInstance
@@ -22,23 +23,25 @@
// 标记应用启动完成
const store = useNavbarStore();
await store.initNavbarHeight();
// #ifndef H5
// try {
const storelogin = Storelogin();
await storelogin.actionslogin()
proxy.$isResolve()
// } catch (error) {
// proxy.$isResolve()
// console.log(error)
// }
// #endif
});
// export default {
// onLaunch: async function() {
// },
// onShow: function() {},
onShow(async () => {
// #ifndef H5
// try {
const storelogin = Storelogin();
await storelogin.actionslogin()
proxy.$isResolve()
// } catch (error) {
// proxy.$isResolve()
// console.log(error)
// }
// #endif
})
// onHide: function() {}
// }
</script>