v-on:click="count++;console.log(count)"
方法一: click事件写一个方法,在方法里实现count++,并输出count.方法二:使用watch监听count,输出
可以。