解决页面缺失

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(){
// #ifdef APP-PLUS
uni.hideShareMenu();
// #endif
// #ifdef MP-WEIXIN
wx.hideShareMenu({
menus: ['shareAppMessage', 'shareTimeline']

View File

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

View File

@ -67,19 +67,15 @@
{//A
"root": "pagesA",
"pages": [
{
"path" : "",
"style" : {}
}
]
},
{//B
"root": "pagesB",
"pages": [
{
"path" : "",
"style" :{}
}
{
"path" : "test/test",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
]
}
],

View File

@ -1,5 +1,5 @@
<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>
</template>
@ -14,7 +14,11 @@
},
methods: {
gohome(){
uni.reLaunch({
url:'/pages/tabbar/pagehome/pagehome'
})
}
}
}
</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>