chore: 🔨 移除图片上传组件的必填限制

This commit is contained in:
Ray.Hao committed 2025-02-27 16:49:05 +08:00
1 parent 9b08bbfd9d
commit b9ac5b35ba
2 files changed
-2

No files matched your search

@@ -87,7 +87,6 @@ const previewImageIndex = ref(0); // 预览图片的索引
const modelValue = defineModel("modelValue", { const modelValue = defineModel("modelValue", {
type: [Array] as PropType<string[]>, type: [Array] as PropType<string[]>,
required: true,
default: () => [], default: () => [],
}); });
@@ -77,7 +77,6 @@ const props = defineProps({
const modelValue = defineModel("modelValue", { const modelValue = defineModel("modelValue", {
type: String, type: String,
required: true,
default: () => "", default: () => "",
}); });