修复一处继承调用的bug
parent
d0af1270dc
commit
304d320cb3
|
@ -559,11 +559,11 @@ class AttributePart {
|
|||
}
|
||||
}
|
||||
if (change && !noCommit) {
|
||||
this.#commitValue(value)
|
||||
this.commitValue(value)
|
||||
}
|
||||
}
|
||||
|
||||
#commitValue(value) {
|
||||
commitValue(value) {
|
||||
let isBoolAttr = boolMap[this.name]
|
||||
// ref属性不渲染到节点上
|
||||
if (this.name === 'ref') {
|
||||
|
@ -594,7 +594,7 @@ class PropertyPart extends AttributePart {
|
|||
super(...args)
|
||||
}
|
||||
|
||||
#commitValue(value) {
|
||||
commitValue(value) {
|
||||
this.element[this.name] = value
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue