diff --git a/src/components/PortalHeader.vue b/src/components/PortalHeader.vue index 565641c6..0bd29e16 100644 --- a/src/components/PortalHeader.vue +++ b/src/components/PortalHeader.vue @@ -91,7 +91,7 @@ 学员 教师 - 管理员 + 管理员 @@ -171,6 +171,7 @@ export default { data() { return { popupConfig:{}, + ctx:process.env.VUE_APP_PUBLIC_PATH, fileBaseUrl: process.env.VUE_APP_FILE_BASE_URL, findType: '1', keyword: '', diff --git a/src/components/UcHeader/Index.vue b/src/components/UcHeader/Index.vue index a45c97e6..cb3c5d3e 100644 --- a/src/components/UcHeader/Index.vue +++ b/src/components/UcHeader/Index.vue @@ -48,7 +48,7 @@
学员 教师 - 管理员 + 管理员
@@ -103,6 +103,7 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js"; }, data(){ return { + ctx:process.env.VUE_APP_PUBLIC_PATH, fileBaseUrl:process.env.VUE_APP_FILE_BASE_URL, isTest:false, statData:{