liukangdong
2024-07-01 f549372d6796835fcf12391abc8dee8375810d42
h5/App.vue
@@ -35,13 +35,13 @@
    }
    // 刷新token
    const token = uni.getStorageSync('token')
    if (token) {
      //  refreshToken().then(res => {
      //     if(res.code && res.code === 200){
      //       this.$store.commit('setToken', res.data)
      //    }
      // })
    }
    // if (token) {
    //    refreshToken().then(res => {
    //       if(res.code && res.code === 200){
    //         this.$store.commit('setToken', res.data)
    //      }
    //   })
    // }
  },
  onShow: function () {
    console.log('App Show')