登录样式
Showing
4 changed files
with
3 additions
and
6 deletions
| ... | @@ -40,6 +40,9 @@ page { | ... | @@ -40,6 +40,9 @@ page { |
| 40 | .align-forms-item-placeHolder{color: #999;line-height: 2.6;} | 40 | .align-forms-item-placeHolder{color: #999;line-height: 2.6;} |
| 41 | .align-forms-item{line-height: 2.6;} | 41 | .align-forms-item{line-height: 2.6;} |
| 42 | .more{color: #929AA0;font-size: 24rpx;} | 42 | .more{color: #929AA0;font-size: 24rpx;} |
| 43 | .f26{ | ||
| 44 | font-size: 26rpx;color: #4D4D4D; | ||
| 45 | } | ||
| 43 | .msglist{ | 46 | .msglist{ |
| 44 | .msgitem{background: #FFFFFF;border-radius: 10rpx;margin-bottom: 25rpx;padding: 20rpx; | 47 | .msgitem{background: #FFFFFF;border-radius: 10rpx;margin-bottom: 25rpx;padding: 20rpx; |
| 45 | position: relative; | 48 | position: relative; | ... | ... |
| ... | @@ -128,12 +128,6 @@ const request = function (req) { | ... | @@ -128,12 +128,6 @@ const request = function (req) { |
| 128 | // 业务错误(code != 200 且非 Token 过期)- 统一显示错误提示 | 128 | // 业务错误(code != 200 且非 Token 过期)- 统一显示错误提示 |
| 129 | const errorMsg = data.msg || '操作失败' | 129 | const errorMsg = data.msg || '操作失败' |
| 130 | showError(errorMsg) | 130 | showError(errorMsg) |
| 131 | |||
| 132 | // code == 500 时仅显示提示,不抛出异常,避免页面 catch 覆盖错误信息 | ||
| 133 | if (data.code == 500) { | ||
| 134 | return | ||
| 135 | } | ||
| 136 | |||
| 137 | reject(new Error(errorMsg)) | 131 | reject(new Error(errorMsg)) |
| 138 | 132 | ||
| 139 | }).catch(error => { | 133 | }).catch(error => { | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or sign in to post a comment