修改仓库地址;优化生命周期的触发
parent
4c3d3eae21
commit
87496a1487
|
@ -5,7 +5,7 @@
|
|||
![version](https://img.shields.io/npm/v/wkit.svg)
|
||||
|
||||
### 开发文档
|
||||
[开发文档](https://github.com/bytedo/wkit/wiki)
|
||||
[开发文档](https://git.wkit.fun/bytedo/wkit/wiki)
|
||||
|
||||
|
||||
### 我们的特色
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wkit",
|
||||
"version": "1.10.4",
|
||||
"version": "1.10.5",
|
||||
"type": "module",
|
||||
"description": "A library for building fast, lightweight web components.",
|
||||
"main": "dist/index.js",
|
||||
|
@ -14,7 +14,7 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/bytedo/wkit.git"
|
||||
"url": "git+https://git.wkit.fun/bytedo/wkit.git"
|
||||
},
|
||||
"keywords": [
|
||||
"wkit",
|
||||
|
|
|
@ -361,11 +361,11 @@ export class Component extends HTMLElement {
|
|||
this.$animate()
|
||||
}
|
||||
if (this.__keep_alive__) {
|
||||
this.activated()
|
||||
nextTick(_ => this.activated())
|
||||
}
|
||||
this.mounted()
|
||||
nextTick(_ => this.mounted())
|
||||
} else {
|
||||
this.updated(props)
|
||||
nextTick(_ => this.updated(props))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue