ソースを参照

Merge branch 'master' of http://60.205.254.193:3000/GCLS/eep_page

zq 1 ヶ月 前
コミット
c09d2efb7f

+ 5 - 1
src/views/book/courseware/preview/components/article/index.vue

@@ -435,7 +435,11 @@ export default {
     },
     submit() {
       let access_token =
-        this.tokenData && this.tokenData.gcls_sys_session_info ? this.tokenData.gcls_sys_session_info.access_token : '';
+        this.tokenData && this.tokenData.gcls_sys_session_info
+          ? this.tokenData.gcls_sys_session_info.access_token
+          : this.tokenData && this.tokenData.access_token
+            ? this.tokenDataaccess_token
+            : '';
       let loading = this.$loading({
         lock: true,
         text: 'Loading',

+ 5 - 1
src/views/book/courseware/preview/components/dialogue_article/index.vue

@@ -425,7 +425,11 @@ export default {
     },
     submit() {
       let access_token =
-        this.tokenData && this.tokenData.gcls_sys_session_info ? this.tokenData.gcls_sys_session_info.access_token : '';
+        this.tokenData && this.tokenData.gcls_sys_session_info
+          ? this.tokenData.gcls_sys_session_info.access_token
+          : this.tokenData && this.tokenData.access_token
+            ? this.tokenDataaccess_token
+            : '';
       let loading = this.$loading({
         lock: true,
         text: 'Loading',