lanjianrong 4 年之前
父節點
當前提交
22794f2c45
共有 1 個文件被更改,包括 0 次插入4 次删除
  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,