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.

21 lines
683 B

5 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,非手风琴模式:[<string | number>],手风琴模式:string | number
  6. value: {
  7. type: [String, Number, Array, null],
  8. default: () => defProps.collapse.value
  9. },
  10. // 是否手风琴模式
  11. accordion: {
  12. type: Boolean,
  13. default: () => defProps.collapse.accordion
  14. },
  15. // 是否显示外边框
  16. border: {
  17. type: Boolean,
  18. default: () => defProps.collapse.border
  19. }
  20. }
  21. })