Commit 5dbbc9c2 authored by 彭俊龙's avatar 彭俊龙

feat:注释拦截接口返回500提示

parent ef8f89ab
Pipeline #97326 failed with stages
...@@ -101,13 +101,13 @@ const bizDataAdapter = response => { ...@@ -101,13 +101,13 @@ const bizDataAdapter = response => {
// 7. 请求超时 // 7. 请求超时
const bizTimeoutHandler = response => { const bizTimeoutHandler = response => {
const { status } = response; const { status } = response;
if (status === 500) { // if (status === 500) {
notification.warning({ // notification.warning({
title: '提示', // title: '提示',
message: '请求超时', // message: '请求超时',
duration: 4, // duration: 4,
}); // });
} // }
}; };
export default { export default {
......
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