修改仓库地址;优化生命周期的触发

master
yutent 2023-09-01 17:51:28 +08:00
parent 4c3d3eae21
commit 87496a1487
3 changed files with 6 additions and 6 deletions

View File

@ -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)
### 我们的特色

View File

@ -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",

View File

@ -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))
}
}