//change是radio-group標籤的事件 <div> <el-radio-group v-model="radioSex" @change="changeHandler"> <el-radio class="radio" label="man">男</el-radio> <el-radio class="radio" label="woman">女</el-radio> </el-radio-group> </div> export default { name: 'Radio', data () { return { radioSex: 'man' } }, methods: { changeHandler(value) { console.log('改變以後的值是:' + value) } } }