Skip to content

Commit fad99c0

Browse files
committed
docs(computed): correct parameter in computed example
1 parent f7872ec commit fad99c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/essentials/computed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ export default {
279279
// この computed は、count が 3 以下の場合にはその値を返します。
280280
// count が >= 4 の場合は、count が 3 以下になるまで、
281281
// 条件を満たした最後の値が代わりに返されます
282-
alwaysSmall(previous) {
282+
alwaysSmall(_, previous) {
283283
if (this.count <= 3) {
284284
return this.count
285285
}

0 commit comments

Comments
 (0)