mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-03 03:38:41 +08:00
fix(checkbox): fix prop's label default value
This commit is contained in:
parent
423feb1051
commit
047090b127
@ -4,7 +4,7 @@
|
||||
<el-checkbox v-model="checked1" disabled>{{ checked1 }}</el-checkbox>
|
||||
<el-checkbox v-model="checked2" disabled>{{ checked2 }}</el-checkbox>
|
||||
<el-checkbox v-model="checked1" label="A" border />
|
||||
<el-checkbox v-model="checked2" label="B" border />
|
||||
<el-checkbox v-model="checked2" border />
|
||||
|
||||
<el-checkbox-group v-model="checkList">
|
||||
<el-checkbox label="A" />
|
||||
|
@ -77,7 +77,7 @@ export default defineComponent({
|
||||
},
|
||||
label: {
|
||||
type: [Object, Boolean, String],
|
||||
default: () => ({}),
|
||||
default: ' ',
|
||||
},
|
||||
indeterminate: Boolean,
|
||||
disabled: Boolean,
|
||||
|
Loading…
Reference in New Issue
Block a user