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 判断依赖属性是否发生更改,避免不必的繁重运算。 */