This commit is contained in:
zhangdingyu
2019-12-12 14:32:40 +08:00
parent da64ae65cb
commit e8453afd31
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ export const downloadFileMachine = `http://192.168.1.231:8411/submit/downloadFil
export const MESUploadFile = `http://192.168.1.231:8411/submit/MESUploadFile.ashx` export const MESUploadFile = `http://192.168.1.231:8411/submit/MESUploadFile.ashx`
export const MESDownloadFile = `http://192.168.1.231:8411/submit/MESDownloadFile.ashx` export const MESDownloadFile = `http://192.168.1.231:8411/submit/MESDownloadFile.ashx`
const service = axios.create({ const service = axios.create({
baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`, baseURL: `http://192.168.0.110:8002/submit/MESCommonBase.ashx`,
timeout: 1500000 // 请求超时时间 timeout: 1500000 // 请求超时时间
}) })
export default service export default service

View File

@@ -716,7 +716,7 @@ export default {
this.tableData = response.data this.tableData = response.data
} }
}).then(() => { }).then(() => {
if (this.tableData !== []) { if (this.tableData.length !== 0) {
this.Out() this.Out()
} else { } else {
this.$message.error('暂无该月数据') this.$message.error('暂无该月数据')