mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 19:12:48 +08:00
优化提示消失速度
This commit is contained in:
@@ -145,7 +145,7 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine
|
|||||||
callback = function () {
|
callback = function () {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var index = layer.msg(msg, { icon: 1, shade: admin.config.shade, scrollbar: false, time: 2000, shadeClose: true }, callback);
|
var index = layer.msg(msg, { icon: 1, shade: admin.config.shade, scrollbar: false, time: 800, shadeClose: true }, callback);
|
||||||
return index;
|
return index;
|
||||||
},
|
},
|
||||||
// 失败消息
|
// 失败消息
|
||||||
@@ -174,7 +174,7 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine
|
|||||||
},
|
},
|
||||||
// 消息提示
|
// 消息提示
|
||||||
tips: function (msg, time, callback) {
|
tips: function (msg, time, callback) {
|
||||||
var index = layer.msg(msg, { time: (time || 3) * 1000, shade: this.shade, end: callback, shadeClose: true });
|
var index = layer.msg(msg, { time: (time || 0.8) * 1000, shade: this.shade, end: callback, shadeClose: true });
|
||||||
return index;
|
return index;
|
||||||
},
|
},
|
||||||
// 加载中提示
|
// 加载中提示
|
||||||
|
|||||||
Reference in New Issue
Block a user