main
liudan 2 years ago
parent 3200c4e3b5
commit f1ff608bcb
  1. 10
      pages.json
  2. 9
      pages/login/login.vue

@ -1,11 +1,6 @@
{ {
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages "pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{ {
"path": "pages/index/index",
"style": {
"navigationBarTitleText": ""
}
},{
"path" : "pages/login/login", "path" : "pages/login/login",
"style" : "style" :
{ {
@ -13,6 +8,11 @@
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": ""
}
},{ },{
"path" : "pages/my/richText", "path" : "pages/my/richText",
"style" : "style" :

@ -43,6 +43,15 @@
checked:[] checked:[]
}; };
}, },
onShow() {
let info = JSON.parse(JSON.stringify(uni.getStorageSync('userInfo')))
console.log(info,"9999")
if(info){
uni.switchTab({
url:'/pages/index/index'
})
}
},
methods:{ methods:{
changeHandle(val){ changeHandle(val){
console.log(val) console.log(val)

Loading…
Cancel
Save