diff --git a/Readme.md b/Readme.md index 07718ff..1e905ce 100644 --- a/Readme.md +++ b/Readme.md @@ -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) ### 我们的特色 diff --git a/package.json b/package.json index 39d5633..2a0a265 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/index.js b/src/index.js index b4ae6b5..e8bc77b 100644 --- a/src/index.js +++ b/src/index.js @@ -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)) } }