白屏,首页,霸王餐,网络完善
This commit is contained in:
10
App.vue
10
App.vue
@@ -10,7 +10,8 @@
|
||||
onShow
|
||||
} from '@dcloudio/uni-app';
|
||||
import {
|
||||
getCurrentInstance
|
||||
getCurrentInstance,
|
||||
nextTick
|
||||
} from 'vue';
|
||||
import {
|
||||
Storelogin
|
||||
@@ -21,15 +22,12 @@
|
||||
// 小程序启动时执行
|
||||
onLaunch(async () => {
|
||||
// 标记应用启动完成
|
||||
// clear
|
||||
await nextTick()
|
||||
const store = useNavbarStore();
|
||||
await store.initNavbarHeight();
|
||||
|
||||
});
|
||||
// export default {
|
||||
// onLaunch: async function() {
|
||||
|
||||
|
||||
// },
|
||||
onShow(async () => {
|
||||
try {
|
||||
// #ifdef MP-WEIXIN
|
||||
|
||||
Reference in New Issue
Block a user