File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -281,10 +281,10 @@ export default {
281281 // 条件を満たした最後の値が代わりに返されます
282282 alwaysSmall (previous ) {
283283 if (this .count <= 3 ) {
284- return this .count ;
284+ return this .count
285285 }
286286
287- return previous;
287+ return previous
288288 }
289289 }
290290}
@@ -304,10 +304,10 @@ const count = ref(2)
304304// 条件を満たした最後の値が代わりに返されます
305305const alwaysSmall = computed((previous) => {
306306 if (count.value <= 3) {
307- return count.value;
307+ return count.value
308308 }
309309
310- return previous;
310+ return previous
311311})
312312</script>
313313```
@@ -328,13 +328,13 @@ export default {
328328 alwaysSmall: {
329329 get (previous ) {
330330 if (this .count <= 3 ) {
331- return this .count ;
331+ return this .count
332332 }
333333
334334 return previous;
335335 },
336336 set (newValue ) {
337- this .count = newValue * 2 ;
337+ this .count = newValue * 2
338338 }
339339 }
340340 }
@@ -353,13 +353,13 @@ const count = ref(2)
353353const alwaysSmall = computed({
354354 get(previous) {
355355 if (count.value <= 3) {
356- return count.value;
356+ return count.value
357357 }
358358
359- return previous;
359+ return previous
360360 },
361361 set(newValue) {
362- count.value = newValue * 2;
362+ count.value = newValue * 2
363363 }
364364})
365365</script>
You can’t perform that action at this time.
0 commit comments