APPbug反馈修改

This commit is contained in:
仲么了
2023-08-10 09:18:17 +08:00
parent 192bd44c7a
commit f395da8f93
48 changed files with 1420 additions and 480 deletions

10
App.vue
View File

@@ -3,7 +3,7 @@ import { queryDictDataCache } from './common/api/dictionary.js'
import encrypt from './common/js/aes.js'
export default {
onLaunch: function () {
console.log(window);
console.log(window)
// this.connect()
console.log('App Launch')
let devCode = uni.getStorageSync('devCode')
@@ -14,9 +14,11 @@ export default {
},
})
}
},
onShow: function () {
console.log('App Show')
if (!uni.getStorageSync(this.$cacheKey.userInfo)) {
uni.reLaunch({
url: '/pages/login/login',
})
}
queryDictDataCache().then((res) => {
uni.setStorageSync(this.$cacheKey.dictData, res.data)
})