From eebe3c63fca079c80487153dca4f056edcedad54 Mon Sep 17 00:00:00 2001 From: yutent Date: Mon, 18 Sep 2023 17:31:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=9D=99=E6=80=81=E5=B1=9E?= =?UTF-8?q?=E6=80=A7watches=E7=9A=84=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index fda8e55..6931504 100644 --- a/src/index.js +++ b/src/index.js @@ -57,7 +57,7 @@ export class Component extends HTMLElement { this[__props__].forEach((options, prop) => { list.push(options.attrName) }) - return list + return list.concat(this.watches || []) } static parseAnim() {