From 8d49a66435fd84827809701bf62692a2bc21fdc7 Mon Sep 17 00:00:00 2001 From: ShawnPhang Date: Thu, 14 Mar 2024 00:50:30 +0800 Subject: [PATCH] fix: copy&paste bug --- .../modules/settings/valueSelect.vue | 7 +- src/mixins/methods/dealWithCtrl.ts | 17 ++-- src/mixins/methods/handlePaste.ts | 84 +++++++++++-------- src/store/modules/design/actions.ts | 2 +- src/store/modules/design/index.ts | 1 - vite.config.ts | 1 + 6 files changed, 62 insertions(+), 50 deletions(-) diff --git a/src/components/modules/settings/valueSelect.vue b/src/components/modules/settings/valueSelect.vue index 9eb6089..73ffd29 100644 --- a/src/components/modules/settings/valueSelect.vue +++ b/src/components/modules/settings/valueSelect.vue @@ -65,7 +65,7 @@ import { computed, onMounted, reactive, ref, watch } from 'vue'; type TProps = { label?: string - modelValue?: Record + modelValue?: Record | string | number suffix?: string data: Record disable?: boolean @@ -189,9 +189,8 @@ function down() {