console.log ing the radio input

This commit is contained in:
Chad Derya 2019-09-03 09:29:59 +01:00
parent 0873f5b8e4
commit e9f0d91ad7
1 changed files with 5 additions and 2 deletions

View File

@ -2,10 +2,10 @@
<div class="dashboard-editor-container">
<github-corner class="github-corner" />
<el-radio v-model="platform" label="DE">
<el-radio v-model="platform" label="DE" @change="someHandler">
DE
</el-radio>
<el-radio v-model="platform" label="UK">
<el-radio v-model="platform" label="UK" @change="someHandler">
UK
</el-radio>
@ -101,6 +101,9 @@ export default {
methods: {
handleSetLineChartData(type) {
this.lineChartData = lineChartData[type]
},
someHandler() {
console.log(this.platform)
}
}
}