diff --git a/src/utils/request.js b/src/utils/request.js index 406490d..b32f1a5 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -17,7 +17,7 @@ const service = axios.create({ // axios中请求配置有baseURL选项,表示请求URL公共部分 baseURL: process.env.VUE_APP_BASE_API, // 超时 - timeout: 10000 + timeout: 100000 }) // request拦截器 diff --git a/src/views/enterprise/index.vue b/src/views/enterprise/index.vue index eef7893..d974b83 100644 --- a/src/views/enterprise/index.vue +++ b/src/views/enterprise/index.vue @@ -324,6 +324,7 @@ export default { this.open = false; this.getList(); }); + loading.close(); } } }); diff --git a/src/views/system/manage/template/index.vue b/src/views/system/manage/template/index.vue index 94acfa6..fcf2ed0 100644 --- a/src/views/system/manage/template/index.vue +++ b/src/views/system/manage/template/index.vue @@ -140,13 +140,13 @@ export default { }, open(typeId){ alert(typeId) - params=typeId + this.params=typeId findCarmsgListByModelId(params).then(res => { this.msgTable = res.data }) }, handleTypeTabClick(typeId){ - params=typeId + this.params=typeId findCarmsgListByModelId(params).then(res => { this.msgTable = res.data