Browse Source

文本分析 获取config

natasha 1 year ago
parent
commit
af52a31af9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/teacher-dev/TextAnalysis.vue

+ 2 - 0
src/views/teacher-dev/TextAnalysis.vue

@@ -82,6 +82,7 @@ import {
   getStaticContent,
 } from '@/api/api';
 import { getToken, setToken } from '@/utils/auth';
+import { getConfigInfor } from '@/utils/index';
 
 import HeaderPage from '@/components/Header';
 
@@ -130,6 +131,7 @@ export default {
         setToken(res);
         this.showPage = true;
       });
+      await getConfigInfor();
     }
     let data = getToken();
     this.token = JSON.parse(data);