1、修复请求返回值未使用常量web_status.SUCCESS的问题。

This commit is contained in:
kagome2014
2020-12-21 10:23:02 +08:00
committed by Gitee
parent bda12d5016
commit 0c8a6935f2
4 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ function login() {
"rememberMe": rememberMe
},
success: function(r) {
if (r.code == 0) {
if (r.code == web_status.SUCCESS) {
location.href = ctx + 'index';
} else {
$.modal.closeLoading();