mirror of https://github.com/layui/layui
parent
a6703434e4
commit
2a19969d8c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||
});
|
||||
}
|
||||
//插入代码
|
||||
|
|
Loading…
Reference in New Issue