Closed FlyingCaiChong closed 6 months ago
when I run playground, I found the code <p>Counter :{{ counter.n }}. Double: {{ counter.double }}</p> in DemoCounter.vue , but in demo-counter.ts file, there is no double。so i think it's better to add double getter.
<p>Counter :{{ counter.n }}. Double: {{ counter.double }}</p>
DemoCounter.vue
demo-counter.ts
double
when I run playground, I found the code
<p>Counter :{{ counter.n }}. Double: {{ counter.double }}</p>
inDemoCounter.vue
, but indemo-counter.ts
file, there is nodouble
。so i think it's better to adddouble
getter.