chore: 🔨 移除图片上传组件的必填限制
This commit is contained in:
@@ -87,7 +87,6 @@ const previewImageIndex = ref(0); // 预览图片的索引
|
||||
|
||||
const modelValue = defineModel("modelValue", {
|
||||
type: [Array] as PropType<string[]>,
|
||||
required: true,
|
||||
default: () => [],
|
||||
});
|
||||
|
||||
|
||||
@@ -77,7 +77,6 @@ const props = defineProps({
|
||||
|
||||
const modelValue = defineModel("modelValue", {
|
||||
type: String,
|
||||
required: true,
|
||||
default: () => "",
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user