移除mounted回调参数
parent
65b9dd6c4d
commit
03c5255e6a
|
@ -208,7 +208,7 @@ export class Component extends HTMLElement {
|
|||
// 初始化时不触发updated回调
|
||||
if (!this[__mounted__]) {
|
||||
this[__mounted__] = true
|
||||
this.mounted(props)
|
||||
this.mounted()
|
||||
} else {
|
||||
this.updated(props)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue