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