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 {
281
281
// instead until count is less or equal to 3
282
282
alwaysSmall (previous ) {
283
283
if (this .count <= 3 ) {
284
- return this .count ;
284
+ return this .count
285
285
}
286
286
287
- return previous;
287
+ return previous
288
288
}
289
289
}
290
290
}
@@ -304,10 +304,10 @@ const count = ref(2)
304
304
// instead until count is less or equal to 3
305
305
const alwaysSmall = computed((previous) => {
306
306
if (count.value <= 3) {
307
- return count.value;
307
+ return count.value
308
308
}
309
309
310
- return previous;
310
+ return previous
311
311
})
312
312
</script>
313
313
```
@@ -328,13 +328,13 @@ export default {
328
328
alwaysSmall: {
329
329
get (previous ) {
330
330
if (this .count <= 3 ) {
331
- return this .count ;
331
+ return this .count
332
332
}
333
333
334
334
return previous;
335
335
},
336
336
set (newValue ) {
337
- this .count = newValue * 2 ;
337
+ this .count = newValue * 2
338
338
}
339
339
}
340
340
}
@@ -353,13 +353,13 @@ const count = ref(2)
353
353
const alwaysSmall = computed({
354
354
get(previous) {
355
355
if (count.value <= 3) {
356
- return count.value;
356
+ return count.value
357
357
}
358
358
359
- return previous;
359
+ return previous
360
360
},
361
361
set(newValue) {
362
- count.value = newValue * 2;
362
+ count.value = newValue * 2
363
363
}
364
364
})
365
365
</script>
You can’t perform that action at this time.
0 commit comments