事件传参
<body>
<div id="a">
<h1>选择你喜欢的颜色:{
{
color}}</h1>
<button @click="c">red</button>
<button @click="c">green</button>
<button @click="c">blue</button>
<button @click="c">yellow</button>
</div>
<script src="./vue.js"></script>
<script>
new Vue({
el:'#a',
data:{