解决页面缺失

master
chen 2022-03-15 10:26:04 +08:00
parent 6c9d839fc7
commit 40eada19f8
5 changed files with 40 additions and 20 deletions

View File

@ -460,9 +460,6 @@ const tools = {
}, },
// 禁止小程序使用分享 // 禁止小程序使用分享
disableShareEv(){ disableShareEv(){
// #ifdef APP-PLUS
uni.hideShareMenu();
// #endif
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
wx.hideShareMenu({ wx.hideShareMenu({
menus: ['shareAppMessage', 'shareTimeline'] menus: ['shareAppMessage', 'shareTimeline']

View File

@ -55,7 +55,8 @@
"appid" : "wx2654bc27c419ada6", "appid" : "wx2654bc27c419ada6",
"UniversalLinks" : "" "UniversalLinks" : ""
} }
} },
"ad" : {}
} }
}, },
"splashscreen" : { "splashscreen" : {
@ -68,7 +69,7 @@
/* */ /* */
"mp-weixin" : { "mp-weixin" : {
/* */ /* */
"appid" : "wx2654bc27c419ada6", "appid" : "wx705dfb975654e53a",
"setting" : { "setting" : {
"urlCheck" : true, "urlCheck" : true,
"es6" : true "es6" : true

View File

@ -68,17 +68,13 @@
"root": "pagesA", "root": "pagesA",
"pages": [ "pages": [
{ {
"path" : "", "path" : "test/test",
"style" : {} "style" :
}
]
},
{//B
"root": "pagesB",
"pages": [
{ {
"path" : "", "navigationBarTitleText": "",
"style" :{} "enablePullDownRefresh": false
}
} }
] ]
} }

View File

@ -1,5 +1,5 @@
<template> <template>
<view style="display: flex;align-items: center;justify-content: center;height: 100vh;"> <view @tap="gohome" style="display: flex;align-items: center;justify-content: center;height: 100vh;">
登录页 登录页
</view> </view>
</template> </template>
@ -14,7 +14,11 @@
}, },
methods: { methods: {
gohome(){
uni.reLaunch({
url:'/pages/tabbar/pagehome/pagehome'
})
}
} }
} }
</script> </script>

22
pagesA/test/test.vue Normal file
View File

@ -0,0 +1,22 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>