diff --git a/src/modules/component.js b/src/modules/component.js index e84f026c..a900beb2 100644 --- a/src/modules/component.js +++ b/src/modules/component.js @@ -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); };