Browse Source

[更新]修改加载时间处理 #IIP88

Anyon 7 years ago
parent
commit
30729d6ea2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/admin.js

+ 1 - 1
static/admin.js

@@ -169,7 +169,7 @@ $(function () {
                         return false;
                     }
                     if (typeof (res) === 'object') {
-                        return $.msg.auto(res, time);
+                        return $.msg.auto(res, res.wait ? res.wait : time);
                     }
                     self.show(res);
                 }