Browse Source

无jira任务,文件上传控件无合法文件的时候不应当发EVENT_CHANGE事件

es6
Dailer 6 years ago
parent
commit
446b715101
  1. 2
      dist/base.js
  2. 2
      dist/bundle.ie.js
  3. 8
      dist/bundle.ie.min.js
  4. 2
      dist/bundle.js
  5. 6
      dist/bundle.min.js
  6. 25
      dist/demo.js
  7. 2
      dist/fineui.ie.js
  8. 8
      dist/fineui.ie.min.js
  9. 2
      dist/fineui.js
  10. 6
      dist/fineui.min.js
  11. 2
      dist/utils.min.js
  12. 2
      src/base/single/input/file.js

2
dist/base.js vendored

@ -9629,7 +9629,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
// BI.Msg.toast(value);
}
}
self.fireEvent(BI.File.EVENT_CHANGE, {
wrap.files.length > 0 && self.fireEvent(BI.File.EVENT_CHANGE, {
files: wrap.files
});
input.value = "";

2
dist/bundle.ie.js vendored

@ -44696,7 +44696,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
// BI.Msg.toast(value);
}
}
self.fireEvent(BI.File.EVENT_CHANGE, {
wrap.files.length > 0 && self.fireEvent(BI.File.EVENT_CHANGE, {
files: wrap.files
});
input.value = "";

8
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.js vendored

@ -45100,7 +45100,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
// BI.Msg.toast(value);
}
}
self.fireEvent(BI.File.EVENT_CHANGE, {
wrap.files.length > 0 && self.fireEvent(BI.File.EVENT_CHANGE, {
files: wrap.files
});
input.value = "";

6
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

25
dist/demo.js vendored

@ -6126,30 +6126,7 @@ Demo.HtapeLayout = BI.inherit(BI.Widget, {
};
}
});
BI.shortcut("demo.htape", Demo.HtapeLayout);Demo.InlineVerticalLayout = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-absolute"
},
render: function () {
return {
type: "bi.inline_vertical_adapt",
items: [{
type: "bi.label",
text: "绝对布局",
cls: "layout-bg1",
width: 300,
height: 200
}, {
type: "bi.label",
text: "绝对布局",
cls: "layout-bg1",
width: 300,
height: 100
}]
};
}
});
BI.shortcut("demo.inline_vertical", Demo.InlineVerticalLayout);/**
BI.shortcut("demo.htape", Demo.HtapeLayout);/**
* Created by User on 2017/3/22.
*/
Demo.LeftRightVerticalAdaptLayout = BI.inherit(BI.Widget, {

2
dist/fineui.ie.js vendored

@ -44938,7 +44938,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
// BI.Msg.toast(value);
}
}
self.fireEvent(BI.File.EVENT_CHANGE, {
wrap.files.length > 0 && self.fireEvent(BI.File.EVENT_CHANGE, {
files: wrap.files
});
input.value = "";

8
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.js vendored

@ -45342,7 +45342,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
// BI.Msg.toast(value);
}
}
self.fireEvent(BI.File.EVENT_CHANGE, {
wrap.files.length > 0 && self.fireEvent(BI.File.EVENT_CHANGE, {
files: wrap.files
});
input.value = "";

6
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
src/base/single/input/file.js

@ -513,7 +513,7 @@
// BI.Msg.toast(value);
}
}
self.fireEvent(BI.File.EVENT_CHANGE, {
wrap.files.length > 0 && self.fireEvent(BI.File.EVENT_CHANGE, {
files: wrap.files
});
input.value = "";

Loading…
Cancel
Save