diff --git a/src/components/Annex/src/Annex.vue b/src/components/Annex/src/Annex.vue index ffb0dc15c..69c4c614c 100644 --- a/src/components/Annex/src/Annex.vue +++ b/src/components/Annex/src/Annex.vue @@ -69,7 +69,7 @@ const props = defineProps({ }, showAddBtn: { type: Boolean, - required: true + default: true }, }) // 子传父的时候需要先定义好emit这个方法