|
@@ -111,7 +111,7 @@ export default {
|
111
|
111
|
PageBottom
|
112
|
112
|
},
|
113
|
113
|
onShow () {
|
114
|
|
- if (this.UserInfo.studentId && this.$refs.MainPage) {
|
|
114
|
+ if (this.UserInfo?.student?.studentId && this.$refs.MainPage) {
|
115
|
115
|
this.$refs.MainPage.ShowStudentIdPopup = false
|
116
|
116
|
}
|
117
|
117
|
},
|
|
@@ -143,7 +143,7 @@ export default {
|
143
|
143
|
this.$refs.MainPage.HideLoading()
|
144
|
144
|
})
|
145
|
145
|
|
146
|
|
- if (!this.Student?.studentId) {
|
|
146
|
+ if (!this.UserInfo?.student?.studentId) {
|
147
|
147
|
if (this.$refs.MainPage) {
|
148
|
148
|
this.$refs.MainPage.ShowStudentIdPopup = true
|
149
|
149
|
}
|