update
update
This commit is contained in:
parent
de517e39f6
commit
e6c0b158e9
6 changed files with 15 additions and 27 deletions
|
@ -64,7 +64,7 @@
|
|||
},
|
||||
mounted () {
|
||||
// todo 使用 while向上查找
|
||||
if (this.$parent && this.$parent.$options.name === 'radioGroup') this.group = true;
|
||||
if (this.$parent && this.$parent.$options.name === 'RadioGroup') this.group = true;
|
||||
if (!this.group) {
|
||||
this.updateValue();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue