web
2025-07-04 0cfe50c34659fc30b8e6cdc05d9e4198efa71be9
App.vue
@@ -2,11 +2,11 @@
   export default {
      onLaunch: function() {
         console.log('App Launch')
         // if(!uni.getStorageSync('openId') || !uni.getStorageSync('token')){
         //    uni.redirectTo({
         //       url:'/pages/login/index'
         //    })
         // }
         if(!uni.getStorageSync('openId') || !uni.getStorageSync('token')){
            uni.redirectTo({
               url:'/pages/login/index'
            })
         }
      },
      onShow: function() {
         console.log('App Show')