mirror of
https://gitee.com/layui/layui.git
synced 2025-04-04 23:39:34 +08:00
fix(component): 修复 reload 时传入的选项未正确合并的问题
This commit is contained in:
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
Block a user