Fix Bug
This commit is contained in:
parent
a6703434e4
commit
2a19969d8c
2
dist/lay/modules/layedit.js
vendored
2
dist/lay/modules/layedit.js
vendored
File diff suppressed because one or more lines are too long
2
dist/layui.all.js
vendored
2
dist/layui.all.js
vendored
File diff suppressed because one or more lines are too long
@ -387,7 +387,7 @@ layui.define(['layer', 'form'], function(exports){
|
|||||||
var that = this;
|
var that = this;
|
||||||
layui.use('upload', function(upload){
|
layui.use('upload', function(upload){
|
||||||
var uploadImage = set.uploadImage || {};
|
var uploadImage = set.uploadImage || {};
|
||||||
upload.render({
|
toolActive.haveUpload || upload.render({
|
||||||
url: uploadImage.url
|
url: uploadImage.url
|
||||||
,method: uploadImage.type
|
,method: uploadImage.type
|
||||||
,elem: $(that).find('input')[0]
|
,elem: $(that).find('input')[0]
|
||||||
@ -403,6 +403,7 @@ layui.define(['layer', 'form'], function(exports){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
toolActive.haveUpload = true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
//插入代码
|
//插入代码
|
||||||
|
Loading…
Reference in New Issue
Block a user