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.
22 lines
683 B
22 lines
683 B
|
2 years ago
|
import { defineMixin } from '../../libs/vue'
|
||
|
|
import defProps from '../../libs/config/props.js'
|
||
|
|
export const props = defineMixin({
|
||
|
|
props: {
|
||
|
|
// 当前展开面板的name,非手风琴模式:[<string | number>],手风琴模式:string | number
|
||
|
|
value: {
|
||
|
|
type: [String, Number, Array, null],
|
||
|
|
default: () => defProps.collapse.value
|
||
|
|
},
|
||
|
|
// 是否手风琴模式
|
||
|
|
accordion: {
|
||
|
|
type: Boolean,
|
||
|
|
default: () => defProps.collapse.accordion
|
||
|
|
},
|
||
|
|
// 是否显示外边框
|
||
|
|
border: {
|
||
|
|
type: Boolean,
|
||
|
|
default: () => defProps.collapse.border
|
||
|
|
}
|
||
|
|
}
|
||
|
|
})
|