瀏覽代碼

chore: modify typos

HcySunYang 7 年之前
父節點
當前提交
ddb794f284
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/art/7vue-reactive.md

+ 1 - 1
docs/art/7vue-reactive.md

@@ -445,7 +445,7 @@ $watch('a.b', () => {
 ```js
 function $watch (exp, fn) {
   Target = fn
-  // 读取字段值,触发 set 函数
+  // 读取字段值,触发 get 函数
   data[exp]
 }
 ```