修复已知 bug

This commit is contained in:
贤心
2019-06-04 14:19:15 +08:00
parent aee36d31bd
commit 77e0477262
32 changed files with 41 additions and 35 deletions

View File

@@ -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);

View File

@@ -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();

View File

@@ -19,7 +19,7 @@
}
,Layui = function(){
this.v = '2.5.2'; //版本号
this.v = '2.5.3'; //版本号
}
//获取layui所在目录