dykj-outsource-12123/uni_modules/uview-plus/components/u-grid-item/props.js

16 lines
365 B
JavaScript
Raw Normal View History

2024-06-28 14:18: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
}
}
}