... methods 是一些用来更改状态与触发更新的函数 // 它们可以在模板中作为事件处理器绑定 methods: { increment() { this.count++ } } ... 在GitHub 上编辑此页.
確定! 回上一頁