优化 upload 重载处代码细节

pull/1364/head
贤心 2023-09-03 12:42:48 +08:00 committed by GitHub
parent ad5e575b31
commit 504e44ab49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -495,9 +495,9 @@ layui.define(['lay','layer'], function(exports){
// 重置方法
Class.prototype.reload = function(opts){
options = options || {};
delete options.elem;
delete options.bindAction;
opts = opts || {};
delete opts.elem;
delete opts.bindAction;
var that = this;
var options = that.config = $.extend({}, that.config, upload.config, opts);