an_xiao/police_uniapp/uni_modules/uview-ui/components/u-grid-item/props.js

15 lines
310 B
JavaScript
Raw Normal View History

2024-07-25 16:03:08 +08:00
export default {
props: {
// 宫格的name
name: {
type: [String, Number, null],
default: uni.$u.props.gridItem.name
},
// 背景颜色
bgColor: {
type: String,
default: uni.$u.props.gridItem.bgColor
}
}
}