|
@@ -111,7 +111,7 @@ import LayoutHeader from "@/components/login/LayoutHeader";
|
|
|
import { updateWordPack } from "@/utils/i18n";
|
|
|
import { getToken, removeToken } from "@/utils/auth";
|
|
|
|
|
|
-import { getConfig } from "@/utils/index";
|
|
|
+import { getConfigInfor } from "@/utils/index";
|
|
|
|
|
|
export default {
|
|
|
//import引入的组件需要注入到对象中才能使用
|
|
@@ -565,7 +565,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async _getConfig() {
|
|
|
- this.configInfor = await getConfig();
|
|
|
+ this.configInfor = await getConfigInfor();
|
|
|
let user_name = JSON.parse(localStorage.getItem("user_name"));
|
|
|
if (user_name) {
|
|
|
if (user_name.user_type == "TEACHER") {
|