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
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": ""
}
},{
"path" : "pages/login/login",
"style" :
{
@ -13,6 +8,11 @@
"enablePullDownRefresh": false
}
},{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": ""
}
},{
"path" : "pages/my/richText",
"style" :

@ -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)

Loading…
Cancel
Save