feat():优化业务功能 10.4

master
zhang chengzhi 2024-10-04 10:36:25 +08:00
parent 95e6bc22e7
commit c5f7eac850
3 changed files with 4 additions and 3 deletions

View File

@ -17,7 +17,7 @@ const service = axios.create({
// axios中请求配置有baseURL选项表示请求URL公共部分 // axios中请求配置有baseURL选项表示请求URL公共部分
baseURL: process.env.VUE_APP_BASE_API, baseURL: process.env.VUE_APP_BASE_API,
// 超时 // 超时
timeout: 10000 timeout: 100000
}) })
// request拦截器 // request拦截器

View File

@ -324,6 +324,7 @@ export default {
this.open = false; this.open = false;
this.getList(); this.getList();
}); });
loading.close();
} }
} }
}); });

View File

@ -140,13 +140,13 @@ export default {
}, },
open(typeId){ open(typeId){
alert(typeId) alert(typeId)
params=typeId this.params=typeId
findCarmsgListByModelId(params).then(res => { findCarmsgListByModelId(params).then(res => {
this.msgTable = res.data this.msgTable = res.data
}) })
}, },
handleTypeTabClick(typeId){ handleTypeTabClick(typeId){
params=typeId this.params=typeId
findCarmsgListByModelId(params).then(res => { findCarmsgListByModelId(params).then(res => {
this.msgTable = res.data this.msgTable = res.data