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/
|
examples/dist/
|
||||||
dist/
|
dist/
|
||||||
yarn-error.log
|
yarn-error.log
|
||||||
test/unit/coverage
|
test/unit/coverage
|
||||||
|
.vscode
|
|
@ -141,17 +141,17 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleEnter () {
|
handleEnter (event) {
|
||||||
this.$emit('on-enter');
|
this.$emit('on-enter', event);
|
||||||
},
|
},
|
||||||
handleIconClick () {
|
handleIconClick (event) {
|
||||||
this.$emit('on-click');
|
this.$emit('on-click', event);
|
||||||
},
|
},
|
||||||
handleFocus () {
|
handleFocus (event) {
|
||||||
this.$emit('on-focus');
|
this.$emit('on-focus', event);
|
||||||
},
|
},
|
||||||
handleBlur () {
|
handleBlur (event) {
|
||||||
this.$emit('on-blur');
|
this.$emit('on-blur', event);
|
||||||
if (!findComponentUpward(this, ['DatePicker', 'TimePicker', 'Cascader', 'Search'])) {
|
if (!findComponentUpward(this, ['DatePicker', 'TimePicker', 'Cascader', 'Search'])) {
|
||||||
this.dispatch('FormItem', 'on-form-blur', this.currentValue);
|
this.dispatch('FormItem', 'on-form-blur', this.currentValue);
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,6 +84,7 @@ const iview = {
|
||||||
Message,
|
Message,
|
||||||
Modal,
|
Modal,
|
||||||
Notice,
|
Notice,
|
||||||
|
Option: Option,
|
||||||
iOption: Option,
|
iOption: Option,
|
||||||
OptionGroup,
|
OptionGroup,
|
||||||
Page,
|
Page,
|
||||||
|
|
Loading…
Add table
Reference in a new issue