purchase-let/uni_modules/uview-plus/components/u-grid-item/props.js

16 lines
365 B
JavaScript
Raw Normal View History

2024-04-25 18:02:30 +08:00
import defProps from '../../libs/config/props.js';
export default {
props: {
// 宫格的name
name: {
type: [String, Number, null],
default: () => defProps.gridItem.name
},
// 背景颜色
bgColor: {
type: String,
default: () => defProps.gridItem.bgColor
}
}
}