bug修复:在未登录情况下系统异常
parent
62c6a063ca
commit
25d047341a
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue