commit
02ece5df26
3 changed files with 11 additions and 9 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -18,4 +18,5 @@ npm-debug.log
|
|||
examples/dist/
|
||||
dist/
|
||||
yarn-error.log
|
||||
test/unit/coverage
|
||||
test/unit/coverage
|
||||
.vscode
|
|
@ -141,17 +141,17 @@
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
handleEnter () {
|
||||
this.$emit('on-enter');
|
||||
handleEnter (event) {
|
||||
this.$emit('on-enter', event);
|
||||
},
|
||||
handleIconClick () {
|
||||
this.$emit('on-click');
|
||||
handleIconClick (event) {
|
||||
this.$emit('on-click', event);
|
||||
},
|
||||
handleFocus () {
|
||||
this.$emit('on-focus');
|
||||
handleFocus (event) {
|
||||
this.$emit('on-focus', event);
|
||||
},
|
||||
handleBlur () {
|
||||
this.$emit('on-blur');
|
||||
handleBlur (event) {
|
||||
this.$emit('on-blur', event);
|
||||
if (!findComponentUpward(this, ['DatePicker', 'TimePicker', 'Cascader', 'Search'])) {
|
||||
this.dispatch('FormItem', 'on-form-blur', this.currentValue);
|
||||
}
|
||||
|
|
|
@ -84,6 +84,7 @@ const iview = {
|
|||
Message,
|
||||
Modal,
|
||||
Notice,
|
||||
Option: Option,
|
||||
iOption: Option,
|
||||
OptionGroup,
|
||||
Page,
|
||||
|
|
Loading…
Add table
Reference in a new issue