@@ -32,15 +32,11 @@
}
},
- onShow: function() {
+ onReady() {
if(uni.getStorageSync('userInfo')){
uni.reLaunch({
url:'/pages/home'
})
- }else{
- uni.reLaunch({
- url:'/pages/login'
- })
methods:{