mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 09:14:27 +08:00
hide sheet after user have selected a item
This commit is contained in:
@@ -61,6 +61,7 @@ export default {
|
|||||||
onColorClicked(colorInfo) {
|
onColorClicked(colorInfo) {
|
||||||
this.currentValue = colorInfo.color;
|
this.currentValue = colorInfo.color;
|
||||||
this.$emit('input', this.currentValue);
|
this.$emit('input', this.currentValue);
|
||||||
|
this.$emit('update:show', false);
|
||||||
},
|
},
|
||||||
onSheetOpen() {
|
onSheetOpen() {
|
||||||
this.currentValue = this.value;
|
this.currentValue = this.value;
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ export default {
|
|||||||
onIconClicked(iconInfo) {
|
onIconClicked(iconInfo) {
|
||||||
this.currentValue = iconInfo.id;
|
this.currentValue = iconInfo.id;
|
||||||
this.$emit('input', this.currentValue);
|
this.$emit('input', this.currentValue);
|
||||||
|
this.$emit('update:show', false);
|
||||||
},
|
},
|
||||||
onSheetOpen() {
|
onSheetOpen() {
|
||||||
this.currentValue = this.value;
|
this.currentValue = this.value;
|
||||||
|
|||||||
Reference in New Issue
Block a user