We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 211a8b9 commit eebfff2Copy full SHA for eebfff2
src/guide/essentials/computed.md
@@ -263,7 +263,14 @@ const fullName = computed({
263
264
- 3.4 以上でのみサポートされています
265
266
+<p class="options-api">
267
+必要であれば、ゲッターの第 2 引数にアクセスすることで、算出プロパティが前回返した値を取得できます:
268
+</p>
269
+
270
271
+<p class="composition-api">
272
必要であれば、ゲッターの第 1 引数にアクセスすることで、算出プロパティが前回返した値を取得できます:
273
274
275
276
<div class="options-api">
@@ -326,7 +333,7 @@ export default {
326
333
},
327
334
computed: {
328
335
alwaysSmall: {
329
- get(previous) {
336
+ get(_, previous) {
330
337
if (this.count <= 3) {
331
338
return this.count
332
339
}
0 commit comments