Modify the directory structure
Modify the directory structure
This commit is contained in:
parent
31fbef10e4
commit
4b05d84ea2
175 changed files with 48 additions and 46 deletions
25
src/components/select/option-group.vue
Normal file
25
src/components/select/option-group.vue
Normal file
|
@ -0,0 +1,25 @@
|
|||
<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 {
|
||||
prefixCls: prefixCls
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue