Browse Source

2.0.1

pull/53/head
sentsin 7 years ago
parent
commit
7265b2c471
  1. 2
      dist/lay/modules/layedit.js
  2. 4
      dist/layui.all.js
  3. 5
      src/lay/modules/layedit.js

2
dist/lay/modules/layedit.js vendored

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

5
src/lay/modules/layedit.js

@ -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', {

Loading…
Cancel
Save