增加静态属性watches的支持

master
yutent 2023-09-18 17:31:12 +08:00
parent 0483d6efc3
commit eebe3c63fc
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ export class Component extends HTMLElement {
this[__props__].forEach((options, prop) => { this[__props__].forEach((options, prop) => {
list.push(options.attrName) list.push(options.attrName)
}) })
return list return list.concat(this.watches || [])
} }
static parseAnim() { static parseAnim() {