DatePicker add @on-clickoutside event, close #5536
This commit is contained in:
parent
01d898dc73
commit
af672a4f58
1 changed files with 1 additions and 0 deletions
|
@ -313,6 +313,7 @@
|
||||||
this.visible = false;
|
this.visible = false;
|
||||||
e && e.preventDefault();
|
e && e.preventDefault();
|
||||||
e && e.stopPropagation();
|
e && e.stopPropagation();
|
||||||
|
this.$emit('on-clickoutside', e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue