bug修复:在未登录情况下系统异常

hyx_2025-01-13_xgf2.0
liujun 2025-03-10 16:40:10 +08:00
parent 62c6a063ca
commit 25d047341a
1 changed files with 7 additions and 5 deletions

View File

@ -98,11 +98,13 @@ export default {
return this.$store.getters.getUserInfo
}
},
onLoad() {
// , /utils/updateVersion.js
this.fnUpdateVersion(false)
this.getUserFaceCompleted()
},
onLoad() {
if (this.$store.getters.getUserInfo.USER_ID) {
// , /utils/updateVersion.js
this.fnUpdateVersion(false)
this.getUserFaceCompleted()
}
},
methods: {
handleGetClassInfoByParams(classId) {
return new Promise(async (resolve, reject) => {