mirror of https://github.com/layui/layui
fix(component): 修复 reload 时传入的选项未正确合并的问题
parent
c204590a06
commit
79b0a56f50
|
@ -103,7 +103,7 @@ layui.define(['jquery', 'lay'], function(exports) {
|
|||
// 重载实例
|
||||
Class.prototype.reload = function(options, type) {
|
||||
var that = this;
|
||||
$.extend(settings.isDeepReload, that.config, options);
|
||||
that.config = $.extend(settings.isDeepReload, {}, that.config, options);
|
||||
that.init(true, type);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue