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

This commit is contained in:
Ray.Hao
2025-02-27 16:49:05 +08:00
parent 9b08bbfd9d
commit b9ac5b35ba
2 changed files with 0 additions and 2 deletions

View File

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

View File

@@ -77,7 +77,6 @@ const props = defineProps({
const modelValue = defineModel("modelValue", {
type: String,
required: true,
default: () => "",
});