Commit e97a552a by liuzz

超时时间延长

parent ff6e99b2
...@@ -14,7 +14,8 @@ export function uploadExcel(data) { ...@@ -14,7 +14,8 @@ export function uploadExcel(data) {
data, data,
headers: { headers: {
'Content-Type': 'multipart/form-data' 'Content-Type': 'multipart/form-data'
} },
timeout: 1000*60*30
}) })
} }
......
...@@ -19,7 +19,7 @@ const service = axios.create({ ...@@ -19,7 +19,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: 1000*60*10 timeout: 1000*60*30
}) })
// request拦截器 // request拦截器
......
...@@ -1196,7 +1196,7 @@ export default { ...@@ -1196,7 +1196,7 @@ export default {
} }
this.fieldDrawer.fieldList = [] this.fieldDrawer.fieldList = []
this.fieldDrawer.show = true this.fieldDrawer.show = true
this.fieldDrawer.title = row.orgName + row.year + '年服务站-字段信息' this.fieldDrawer.title = `${row.year}${row.orgName}-字段信息`
this.initFieldDict() this.initFieldDict()
this.queryFieldList() this.queryFieldList()
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment