2016-10-17 12:34:20 +08:00
|
|
|
<template>
|
|
|
|
<li :class="[`${prefixCls}-wrap`]">
|
|
|
|
<div :class="[`${prefixCls}-title`]">{{ label }}</div>
|
|
|
|
<ul>
|
|
|
|
<li :class="[`${prefixCls}`]"><slot></slot></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
const prefixCls = 'ivu-select-group';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
label: {
|
|
|
|
type: String,
|
|
|
|
default: ''
|
|
|
|
}
|
|
|
|
},
|
|
|
|
data () {
|
|
|
|
return {
|
2016-10-24 14:22:33 +08:00
|
|
|
prefixCls: prefixCls
|
2016-10-17 12:34:20 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|