web
2025-07-08 a1aca8be99e62ea683fd8d7db82d7a480f5d0305
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')