props: ["svgInfoData", "component_prop"],
props: {
svgInfoData: {
type: Array,
default: () => [],
},
component_prop: {
type: Object,
default: () => {
return {};
},
},
},
vue中props的两种写法
最新推荐文章于 2024-05-19 20:04:25 发布