优化request,优化表单校验提示
This commit is contained in:
parent
cf63e790db
commit
7da3bc1f65
|
|
@ -149,10 +149,6 @@ function handleResponseError(res, reject, options = {}) {
|
||||||
title: '请求的资源不存在',
|
title: '请求的资源不存在',
|
||||||
action: () => {},
|
action: () => {},
|
||||||
},
|
},
|
||||||
500: {
|
|
||||||
title: '服务器错误',
|
|
||||||
action: () => {},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 确保res.code存在且为数字
|
// 确保res.code存在且为数字
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user