From 6da10d620084d98d03c476c68b6ecc2066e7ad10 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Thu, 24 Jul 2025 16:40:58 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BB=B7=E6=A0=BC=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E4=B8=8A=E6=AC=A1=E7=9A=84=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/Products/Index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/Products/Index.js b/src/stores/Products/Index.js index 294e4fe..8d3fdab 100644 --- a/src/stores/Products/Index.js +++ b/src/stores/Products/Index.js @@ -376,7 +376,7 @@ export const useProductsStore = create( const hasChanged = preValue !== value if (hasChanged) { - changedObject[key] = value + changedObject[key] = preValue } }