From 7841f34cbb87c2edf18fcb71d988b35e0703043c Mon Sep 17 00:00:00 2001 From: veypi Date: Tue, 29 Oct 2024 10:31:03 +0800 Subject: [PATCH] fix: bug --- oaer/lib/v2dom/proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oaer/lib/v2dom/proxy.ts b/oaer/lib/v2dom/proxy.ts index 4d0e4aa..bb3b263 100644 --- a/oaer/lib/v2dom/proxy.ts +++ b/oaer/lib/v2dom/proxy.ts @@ -130,7 +130,7 @@ function Watch(data: T) { set(target: Object, key: string | symbol, newValue: any, receiver: any) { // console.log(`${did} set ${key.toString()} ${newValue}`) const result = Reflect.set(target, key, newValue, receiver); - if (result) { + if (result && listen_tags.length === 0) { let lkey = key if (isArray) { lkey = ''