This commit is contained in:
sentsin 2017-08-22 12:44:28 +08:00
parent a6703434e4
commit 2a19969d8c
3 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

2
dist/layui.all.js vendored

File diff suppressed because one or more lines are too long

View File

@ -387,7 +387,7 @@ layui.define(['layer', 'form'], function(exports){
var that = this;
layui.use('upload', function(upload){
var uploadImage = set.uploadImage || {};
upload.render({
toolActive.haveUpload || upload.render({
url: uploadImage.url
,method: uploadImage.type
,elem: $(that).find('input')[0]
@ -403,6 +403,7 @@ layui.define(['layer', 'form'], function(exports){
}
}
});
toolActive.haveUpload = true;
});
}
//插入代码