lanjianrong 4 năm trước cách đây
mục cha
commit
22794f2c45
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      src/app.tsx

+ 0 - 4
src/app.tsx

@@ -109,16 +109,12 @@ const errorHandler = error => {
     }
     switch (showType) {
       case ErrorShowType.ERROR_MESSAGE:
-        console.log('error', showType === ErrorShowType.ERROR_MESSAGE)
-
         message.error(errorMessage)
         break
       case ErrorShowType.WARN_MESSAGE:
-        console.log('warn', showType === ErrorShowType.WARN_MESSAGE)
         message.warn(errorMessage)
         break
       case ErrorShowType.NOTIFICATION:
-        console.log('noti', showType === ErrorShowType.NOTIFICATION)
         const title = consts.TOKEN_INVALID_CODE.includes(errorCode) ? '用户信息过期' : '请求失败'
         notification.error({
           message: title,