Skip to content

Commit 0cafdc5

Browse files
authored
docs(computed): correct parameter in computed example (#3206)
1 parent c707b2b commit 0cafdc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/essentials/computed.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ export default {
279279
// This computed will return the value of count when it's less or equal to 3.
280280
// When count is >=4, the last value that fulfilled our condition will be returned
281281
// instead until count is less or equal to 3
282-
alwaysSmall(previous) {
282+
alwaysSmall(_, previous) {
283283
if (this.count <= 3) {
284284
return this.count
285285
}

0 commit comments

Comments
 (0)