chore: 🔨 移除图片上传组件的必填限制
This commit is contained in:
@@ -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: () => "",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user