diff --git a/src/api/config.js b/src/api/config.js index 80cc989e..df04b6ff 100644 --- a/src/api/config.js +++ b/src/api/config.js @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2022-11-21 14:32:52 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2022-12-14 17:35:43 + * @LastEditTime: 2022-12-14 17:51:50 * @FilePath: /fe-manage/src/api/config.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ diff --git a/src/api/method.js b/src/api/method.js index 771df5d4..c3ed4f2a 100644 --- a/src/api/method.js +++ b/src/api/method.js @@ -277,6 +277,9 @@ const organizationalTree = [] //嵌套页面 const iframeUrl = "https://u-pre.boe.com/pc/iframe" +//学员端路由 +const studentUrl = 'https://u.boe.com/pc/uc/study/courses' + //二维码 const codeUrl = "https://u-pre.boe.com" export { @@ -292,5 +295,6 @@ export { commonData, organizationalTree, iframeUrl, + studentUrl, codeUrl, } \ No newline at end of file diff --git a/src/components/NavTop.vue b/src/components/NavTop.vue index 797a6847..b69ba583 100644 --- a/src/components/NavTop.vue +++ b/src/components/NavTop.vue @@ -61,7 +61,7 @@ import { reactive, toRefs } from "vue"; import DownLoad from "../components/drawers/DownLoad"; import * as api from "../api/index1"; - +import { studentUrl } from "../api/method"; export default { name: "NavTop", components: { @@ -81,7 +81,7 @@ export default { { id: 2, name: "学员", - go: "https://u.boe.com/pc/uc/study/courses", + go: studentUrl, }, ],