From 87496a1487b7bc06d639acbd731bc294e5fb12e6 Mon Sep 17 00:00:00 2001 From: yutent Date: Fri, 1 Sep 2023 17:51:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=93=E5=BA=93=E5=9C=B0?= =?UTF-8?q?=E5=9D=80;=E4=BC=98=E5=8C=96=E7=94=9F=E5=91=BD=E5=91=A8?= =?UTF-8?q?=E6=9C=9F=E7=9A=84=E8=A7=A6=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Readme.md | 2 +- package.json | 4 ++-- src/index.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) 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)) } }