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