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.
 
 
 

20 regels
555 B

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