From 3b09f43c7963166c710e3c6726244fa6b87c217b Mon Sep 17 00:00:00 2001 From: jianchaoliu Date: Thu, 4 Jul 2019 15:18:17 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E6=9B=B4=E6=96=B0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/table.wpy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/table.wpy b/src/components/table.wpy index 5217996..b5a2039 100644 --- a/src/components/table.wpy +++ b/src/components/table.wpy @@ -115,7 +115,7 @@ watch = { /** - * $apply() 的触发都会导致 computed 属性内所有值都运行一次, + * 考虑到 WePY 的不完善 —— $apply() 的触发都会导致 computed 属性内所有值都运行一次, * 即使 computed 属性所依赖的属性未变更。 * 故通过 watch 判断依赖属性是否发生更改,避免不必的繁重运算。 */