vue3 警告[Vue warn]: Invalid prop: type check faile

97 阅读1分钟

const props = defineProps({ tableOption: { type: [], 改为Array解决问题 default: () => {}, },