You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
428 B
16 lines
428 B
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
|
|
}
|
|
}
|
|
})
|