修复一处继承调用的bug

pull/1/head
yutent 2023-03-17 19:02:20 +08:00
parent d0af1270dc
commit 304d320cb3
1 changed files with 3 additions and 3 deletions

View File

@ -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
}
}