HTML 1 <button @click="showPane">切换显示内容</button> JS 使用 methods 方法 methods:{ showPane:()=>{ // 写点击后发生的事情 } } 相关文章: