|
|
@ -83,7 +83,6 @@ export default { |
|
|
|
post() { |
|
|
|
if (!this.userInfo) return '学生'; |
|
|
|
let str = '学生'; |
|
|
|
console.log('this.userInfo.post: ', this.userInfo.post); |
|
|
|
switch (this.userInfo.post) { |
|
|
|
case 0: |
|
|
|
str = '学生'; |
|
|
@ -163,7 +162,6 @@ export default { |
|
|
|
this.getUserInfoData(params); |
|
|
|
}, 100); |
|
|
|
} else { |
|
|
|
console.log('params: ', params); |
|
|
|
this.userInfo = await this.getUserInfo(params); |
|
|
|
if (!this.userInfo.healthCodeList.length) { |
|
|
|
showToast('健康码信息有误, 请重新生成'); |
|
|
|