事件绑定 <body> <div id="app"> <!-- 使用表达式完成事件的处理 --> <h1>点击次数:{ { count}}</h1> <button type="button" @click="count+=1">点击</button> <!-- 获取事件对象 --> <button @click="clickEvent" type="button">点击2</button> </div> <script type="text/javascript"> var