props: {
dzpImgList: { //字符串
type: String,
default: ''
},
dzpImgList: { //数值
type: Number,
default: 0
},
dzpImgList: { //布尔值
type: Boolean,
default: true
},
dzpImgList: { //数组
type: Array,
default: () => []
},
dzpImgList: { //对象
type: Object,
default: () => ({})
},
dzpImgList: { //方法
type: Function,
default: function () { }
}
},
props接收参数定义
最新推荐文章于 2023-09-15 22:03:26 发布