[更新]修改后台管理JS

This commit is contained in:
Anyon 2018-04-08 10:21:35 +08:00
parent a21ca2337c
commit c0c4a05712

View File

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