@ -1,11 +1,6 @@
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
"path": "pages/index/index",
"style": {
"navigationBarTitleText": ""
}
},{
"path" : "pages/login/login",
"style" :
@ -13,6 +8,11 @@
"enablePullDownRefresh": false
"path" : "pages/my/richText",
@ -43,6 +43,15 @@
checked:[]
};
},
onShow() {
let info = JSON.parse(JSON.stringify(uni.getStorageSync('userInfo')))
console.log(info,"9999")
if(info){
uni.switchTab({
url:'/pages/index/index'
})
methods:{
changeHandle(val){
console.log(val)