From 4c3d3eae217ebd5c3f2f21b21cd564c319093db0 Mon Sep 17 00:00:00 2001 From: yutent Date: Tue, 15 Aug 2023 14:36:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8A=82=E7=82=B9=E8=A2=AB=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=97=B6,=20=E5=90=8C=E6=97=B6=E5=8F=96=E6=B6=88=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E5=88=B0wkitd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/index.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c507f58..39d5633 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wkit", - "version": "1.10.3", + "version": "1.10.4", "type": "module", "description": "A library for building fast, lightweight web components.", "main": "dist/index.js", diff --git a/src/index.js b/src/index.js index d1e4fee..b4ae6b5 100644 --- a/src/index.js +++ b/src/index.js @@ -252,6 +252,9 @@ export class Component extends HTMLElement { } } } + if (window.wkitd && this.$store) { + window.wkitd.deassign(this) + } } this.unmounted() }