修复已知 bug
This commit is contained in:
@@ -642,6 +642,8 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util'], function(exports){
|
||||
Class.prototype.reload = function(options){
|
||||
var that = this;
|
||||
|
||||
options = options || {};
|
||||
|
||||
if(options.data && options.data.constructor === Array) delete that.config.data;
|
||||
that.config = $.extend(true, {}, that.config, options);
|
||||
|
||||
|
||||
@@ -409,6 +409,10 @@ layui.define('layer' , function(exports){
|
||||
|
||||
//重置方法
|
||||
Class.prototype.reload = function(options){
|
||||
options = options || {};
|
||||
delete options.elem;
|
||||
delete options.bindAction;
|
||||
|
||||
var that = this
|
||||
,options = that.config = $.extend({}, that.config, upload.config, options)
|
||||
,next = options.elem.next();
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
}
|
||||
|
||||
,Layui = function(){
|
||||
this.v = '2.5.2'; //版本号
|
||||
this.v = '2.5.3'; //版本号
|
||||
}
|
||||
|
||||
//获取layui所在目录
|
||||
|
||||
Reference in New Issue
Block a user