diff --git a/app/keti/view/keti_info/create_all.html b/app/keti/view/keti_info/create_all.html index 35899554..9ee0de26 100644 --- a/app/keti/view/keti_info/create_all.html +++ b/app/keti/view/keti_info/create_all.html @@ -33,6 +33,7 @@ layui.use('upload', function(){ upload.render({ elem: '#upload' ,url: "{$list.set.url}" //改成您自己的上传接口 + ,async:false ,done: function(res){ layer.msg('上传成功'); layui.$('#uploadDemoView').removeClass('layui-hide').find('img').attr('src', res.files.file); diff --git a/app/rongyu/view/danwei/create_all.html b/app/rongyu/view/danwei/create_all.html index ec930ec0..e5fc7c69 100644 --- a/app/rongyu/view/danwei/create_all.html +++ b/app/rongyu/view/danwei/create_all.html @@ -21,6 +21,7 @@ layui.use('upload', function(){ var uploadInst = upload.render({ elem: '#upload' //绑定元素 ,url: "/rongyu/danwei/saveall" //上传接口 + ,async:false ,done: function(res){ layer.msg(res.msg); } diff --git a/app/rongyu/view/js_rongyu_info/create_all.html b/app/rongyu/view/js_rongyu_info/create_all.html index 6180e25c..710b0ca8 100644 --- a/app/rongyu/view/js_rongyu_info/create_all.html +++ b/app/rongyu/view/js_rongyu_info/create_all.html @@ -28,11 +28,12 @@ layui.use('upload', function(){ var upload = layui.upload; - + //执行实例 var uploadInst = upload.render({ elem: '#upload' //绑定元素 ,url: "{$list.set.url}" //上传接口 + ,async:false ,done: function(res){ layer.msg(res.msg); }