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

2 months ago
  1. import { defineMixin } from '../../libs/vue'
  2. import defProps from '../../libs/config/props.js'
  3. export const props = defineMixin({
  4. props: {
  5. // 宫格的name
  6. name: {
  7. type: [String, Number, null],
  8. default: () => defProps.gridItem.name
  9. },
  10. // 背景颜色
  11. bgColor: {
  12. type: String,
  13. default: () => defProps.gridItem.bgColor
  14. }
  15. }
  16. })