xnzt/xnzt-h5/uni_modules/uview-ui/components/u-collapse/props.js

20 lines
563 B
JavaScript
Raw Normal View History

2024-11-11 10:27:27 +08:00
export default {
props: {
// 当前展开面板的name非手风琴模式[<string | number>]手风琴模式string | number
value: {
type: [String, Number, Array, null],
default: uni.$u.props.collapse.value
},
// 是否手风琴模式
accordion: {
type: Boolean,
default: uni.$u.props.collapse.accordion
},
// 是否显示外边框
border: {
type: Boolean,
default: uni.$u.props.collapse.border
}
}
}