diff --git a/src/api/api.js b/src/api/api.js index 95597c7..ccda07c 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -2,10 +2,10 @@ import axios from 'axios'; import router from '../router'; // 创建axios实例 const service = axios.create({ - // baseURL: "http://39.108.250.202:9000/", // 中台测试服 + baseURL: "http://39.108.250.202:9000/", // 中台测试服 // baseURL: "http://192.168.31.137:9000/", // 赓 // baseURL: "http://192.168.31.151:9000/", // 榕 - baseURL: "http://192.168.31.125:9000/", // 坤 + // baseURL: "http://192.168.31.125:9000/", // 坤 // baseURL: 'http://39.108.250.202:9000', timeout: 30000 // 请求超时时间 }) diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index b549352..2bbc502 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -1,9 +1,14 @@ @@ -27,11 +32,15 @@ export default { title: '首页' }) }, + exit(){ + window.location = 'http://39.108.250.202/student/#/station/preview?courseId=6&curriculumName=%E9%93%B6%E8%A1%8C%E7%BB%BC%E5%90%88' + }, }, };