dykj-outsource-12123/uni_modules/uview-plus/components/u-collapse/props.js
2024-06-28 14:18:30 +08:00

21 lines
620 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import defProps from '../../libs/config/props.js';
export default {
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
}
}
}