优化单选组件
parent
78b3f3f063
commit
ea505b8ef8
|
@ -99,7 +99,6 @@ export default class RadioGroup {
|
|||
})
|
||||
|
||||
this.__observer = new MutationObserver(_ => {
|
||||
console.log('-00000')
|
||||
this._updateChildrenStat(true)
|
||||
})
|
||||
|
||||
|
@ -126,7 +125,6 @@ export default class RadioGroup {
|
|||
if (k === 'readonly') {
|
||||
k = 'readOnly'
|
||||
}
|
||||
console.log('---', k, val, Array.from(this.children))
|
||||
this[k] = val !== null
|
||||
break
|
||||
}
|
||||
|
|
Reference in New Issue