Browse Source

[更新]修改后台管理JS

Anyon 7 years ago
parent
commit
c0c4a05712
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, res.wait ? res.wait : time);
+                        return $.msg.auto(res, time || res.wait || undefined);
                     }
                     self.show(res);
                 }