You've already forked template-MP-ts
Initial commit
This commit is contained in:
16
uview-plus/components/u-grid-item/props.js
Normal file
16
uview-plus/components/u-grid-item/props.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineMixin } from '../../libs/vue'
|
||||
import defProps from '../../libs/config/props.js'
|
||||
export const props = defineMixin({
|
||||
props: {
|
||||
// 宫格的name
|
||||
name: {
|
||||
type: [String, Number, null],
|
||||
default: () => defProps.gridItem.name
|
||||
},
|
||||
// 背景颜色
|
||||
bgColor: {
|
||||
type: String,
|
||||
default: () => defProps.gridItem.bgColor
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user