diff --git a/src/router/axios.js b/src/router/axios.js index 12b7287..040050d 100644 --- a/src/router/axios.js +++ b/src/router/axios.js @@ -17,7 +17,7 @@ import NProgress from "nprogress"; import "nprogress/nprogress.css"; //默认超时时间 -axios.defaults.timeout = 500000; +axios.defaults.timeout = 500000; //返回其他状态码 axios.defaults.validateStatus = function (status) { return status >= 200 && status <= 500; diff --git a/src/views/edutraining/courseinfo.vue b/src/views/edutraining/courseinfo.vue index 6869818..0cf28b5 100644 --- a/src/views/edutraining/courseinfo.vue +++ b/src/views/edutraining/courseinfo.vue @@ -1,347 +1,477 @@ - + diff --git a/vue.config.js b/vue.config.js index e7b48c7..c0984a5 100644 --- a/vue.config.js +++ b/vue.config.js @@ -28,6 +28,7 @@ module.exports = { // 本地服务接口地址 // target: 'http://nps.scqtkj.com:51490/', target: 'http://127.0.0.1:8081/', + // target: 'http://192.168.3.2:8081/', //target: 'http://10.10.10.11:8088/', //远程演示服务地址,可用于直接启动项目 //target: 'https://saber.bladex.vip/api', @@ -39,6 +40,7 @@ module.exports = { '/': { // 本地服务接口地址 target: 'http://127.0.0.1:8088/', + // target: 'http://192.168.3.2:8081/', //target: 'http://10.10.10.11:8088/', //远程演示服务地址,可用于直接启动项目 //target: 'https://saber.bladex.vip/api',