You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/v2/api/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -460,7 +460,7 @@ type: api
460
460
})
461
461
```
462
462
463
-
Note that if you use an arrow function with the `data` property, `this`will be undefined, but you can still access the instance as the function's first argument:
463
+
Note that if you use an arrow function with the `data` property, `this`won't be the component's instance, but you can still access the instance as the function's first argument:
464
464
465
465
```js
466
466
data:vm=> ({ a:vm.myProp })
@@ -537,7 +537,7 @@ type: api
537
537
538
538
Computed properties to be mixed into the Vue instance. All getters and setters have their `this` context automatically bound to the Vue instance.
539
539
540
-
Note that if you use an arrow function with a computed property, `this`will be undefined, but you can still access the instance as the function's first argument:
540
+
Note that if you use an arrow function with a computed property, `this`won't be the component's instance, but you can still access the instance as the function's first argument:
0 commit comments