Browse Source

信息修改

1002884655 3 years ago
parent
commit
75eae6b85b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/pages/Index/BookDetail/index.vue

+ 2
- 2
src/pages/Index/BookDetail/index.vue View File

@@ -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
           }