采购、装配
This commit is contained in:
@@ -7,7 +7,7 @@ import axios from 'axios'
|
||||
export const upload = `http://123.56.95.229:8411/submit/uploadFile.ashx`
|
||||
export const download = `http://123.56.95.229:8411/submit/downloadFile.ashx`
|
||||
const service = axios.create({
|
||||
baseURL: `http://localhost:8411/submit/MESCommonBase.ashx`,
|
||||
baseURL: `http://192.168.1.122:8411/submit/MESCommonBase.ashx`,
|
||||
timeout: 1500000 // 请求超时时间
|
||||
})
|
||||
|
||||
|
||||
@@ -99,3 +99,9 @@ export function SectionToChinese(section) {
|
||||
}
|
||||
return chnStr
|
||||
}
|
||||
|
||||
export function sleep(time) {
|
||||
return new Promise(resolve => {
|
||||
setTimeout(resolve, time)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user