官方範例: <button v-on:click="greet">Greet</button> data: { name: 'Vue.js' }, methods: { greet: function (event) { alert('Hello ' + this.name + '!
確定! 回上一頁