From c88f6501faf6632e816f58c64be52de0242127c0 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 6 Aug 2023 23:30:10 +0800 Subject: [PATCH] don't auto hide sheet when select icon --- src/components/mobile/ColorSelectionSheet.vue | 1 - src/components/mobile/IconSelectionSheet.vue | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/mobile/ColorSelectionSheet.vue b/src/components/mobile/ColorSelectionSheet.vue index a521691e..e56d1ec8 100644 --- a/src/components/mobile/ColorSelectionSheet.vue +++ b/src/components/mobile/ColorSelectionSheet.vue @@ -69,7 +69,6 @@ export default { onColorClicked(colorInfo) { this.currentValue = colorInfo.color; this.$emit('update:modelValue', this.currentValue); - this.$emit('update:show', false); }, onSheetOpen(event) { this.currentValue = this.modelValue; diff --git a/src/components/mobile/IconSelectionSheet.vue b/src/components/mobile/IconSelectionSheet.vue index d3883233..a0fe0a56 100644 --- a/src/components/mobile/IconSelectionSheet.vue +++ b/src/components/mobile/IconSelectionSheet.vue @@ -89,7 +89,6 @@ export default { onIconClicked(iconInfo) { this.currentValue = iconInfo.id; this.$emit('update:modelValue', this.currentValue); - this.$emit('update:show', false); }, onSheetOpen(event) { this.currentValue = this.modelValue;