created回调改为异步
parent
fb5068b040
commit
ce4bf92ce2
|
@ -159,7 +159,7 @@ export class Component extends HTMLElement {
|
|||
this[__changed_props__].set(prop, this[prop])
|
||||
}
|
||||
|
||||
this.created()
|
||||
nextTick(_ => this.created())
|
||||
}
|
||||
|
||||
createProperty(name, options) {
|
||||
|
|
Loading…
Reference in New Issue