From e964e47274a1c31e4833ea239f4c0119275e862f Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 1 May 2025 07:45:08 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E3=80=91=E5=BA=97=E9=93=BA=E8=A3=85=E4=BF=AE-=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=A0=8F=EF=BC=9A=E6=96=B0=E5=A2=9E=E7=83=AD=E8=AF=8D?= =?UTF-8?q?=EF=BC=8C=E5=87=BA=E7=8E=B0=20object=20object=20=E7=9A=84?= =?UTF-8?q?=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/mobile/SearchBar/property.vue | 16 +++++++++++++++- src/components/Draggable/index.vue | 6 ++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/components/DiyEditor/components/mobile/SearchBar/property.vue b/src/components/DiyEditor/components/mobile/SearchBar/property.vue index 48441d04..73aeeef5 100644 --- a/src/components/DiyEditor/components/mobile/SearchBar/property.vue +++ b/src/components/DiyEditor/components/mobile/SearchBar/property.vue @@ -3,7 +3,7 @@ - + @@ -61,6 +61,7 @@ diff --git a/src/components/Draggable/index.vue b/src/components/Draggable/index.vue index bd153a4f..c1f2c7bd 100644 --- a/src/components/Draggable/index.vue +++ b/src/components/Draggable/index.vue @@ -28,7 +28,7 @@ @@ -69,7 +69,9 @@ const props = defineProps({ // 空的元素:点击添加按钮时,创建元素并添加到列表;默认为空对象 emptyItem: any().def({}), // 数量限制:默认为0,表示不限制 - limit: propTypes.number.def(0) + limit: propTypes.number.def(0), + // 最小数量:默认为1 + min: propTypes.number.def(1) }) // 定义事件 const emit = defineEmits(['update:modelValue'])