Commit 928a67fa authored by 沈翠玲's avatar 沈翠玲

排产搜索

parent 12966fb2
......@@ -149,9 +149,11 @@ service.interceptors.response.use(res => {
}
},
error => {
console.log('err' + error)
if(error.indexOf("Cancel: /mes/pro/taskWorkunit/list")>-1) {
console.log('err', error)
const str = String(error)
if(str.indexOf("Cancel: /mes/pro/taskWorkunit/list")>-1) {
// 取消请求队列中该请求
console.log('sadasd')
cancelRepeatRequest(error.config || {})
return
}
......
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