vue – props 声明数组和对象操作

cxt_85831 14 0 PDF 2020-11-22 07:11:16

我就废话不多说了,大家还是直接看代码吧~ props: { array: { type: Array, default () { return [] } }, object: { type: Object, default () { return {} } } } 补充知识:Vue项目中,要保证某个部分的高度,应该怎么设置 看代码吧~ .icons overflow: hidden height: 0 padding-bottom: 50% background: green 以上这篇

用户评论
请输入评论内容
评分:
暂无评论