增加静态属性watches的支持
parent
0483d6efc3
commit
eebe3c63fc
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue