This commit is contained in:
sentsin 2017-08-22 11:23:55 +08:00
parent 3dc39c1cfb
commit 7265b2c471
3 changed files with 5 additions and 6 deletions

File diff suppressed because one or more lines are too long

4
dist/layui.all.js vendored

File diff suppressed because one or more lines are too long

View File

@ -387,12 +387,11 @@ layui.define(['layer', 'form'], function(exports){
var that = this;
layui.use('upload', function(upload){
var uploadImage = set.uploadImage || {};
upload({
upload.render({
url: uploadImage.url
,method: uploadImage.type
,elem: $(that).find('input')[0]
,unwrap: true
,success: function(res){
,done: function(res){
if(res.code == 0){
res.data = res.data || {};
insertInline.call(iframeWin, 'img', {