2016-10-17 12:34:20 +08:00
|
|
|
<template>
|
2016-10-28 17:24:52 +08:00
|
|
|
<li :class="[prefixCls + '-wrap']">
|
|
|
|
<div :class="[prefixCls + '-title']">{{ label }}</div>
|
2016-10-17 12:34:20 +08:00
|
|
|
<ul>
|
2016-10-28 17:24:52 +08:00
|
|
|
<li :class="[prefixCls]"><slot></slot></li>
|
2016-10-17 12:34:20 +08:00
|
|
|
</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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-10-28 17:24:52 +08:00
|
|
|
</script>
|