From 1d8d4e953278db2691568e540440c4d0bc1d0012 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Fri, 3 Jul 2020 15:44:10 +0300 Subject: [PATCH] Linting --- src/components/dataview/DataView.vue | 4 ++-- src/views/chart/BarChartDemo.vue | 2 +- src/views/chart/ComboChartDemo.vue | 2 +- src/views/chart/DoughnutChartDemo.vue | 2 +- src/views/chart/LineChartDemo.vue | 2 +- src/views/chart/PieChartDemo.vue | 2 +- src/views/chart/PolarAreaChartDemo.vue | 2 +- src/views/chart/RadarChartDemo.vue | 2 +- src/views/tabview/TabViewDemo.vue | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/dataview/DataView.vue b/src/components/dataview/DataView.vue index 36941c2ee..39c30f213 100755 --- a/src/components/dataview/DataView.vue +++ b/src/components/dataview/DataView.vue @@ -115,10 +115,10 @@ export default { rows(newValue) { this.d_rows = newValue; }, - sortField(newValue) { + sortField() { this.resetPage(); }, - sortOrder(newValue) { + sortOrder() { this.resetPage(); } }, diff --git a/src/views/chart/BarChartDemo.vue b/src/views/chart/BarChartDemo.vue index 98eaaf0c3..afd9b2613 100755 --- a/src/views/chart/BarChartDemo.vue +++ b/src/views/chart/BarChartDemo.vue @@ -39,7 +39,7 @@ import EventBus from '@/EventBus'; export default { mounted() { - EventBus.$on('change-theme', event => { + EventBus.$on('change-theme', () => { if (event.dark) this.applyDarkTheme(); else diff --git a/src/views/chart/ComboChartDemo.vue b/src/views/chart/ComboChartDemo.vue index c54ace9f1..fcf308ff7 100755 --- a/src/views/chart/ComboChartDemo.vue +++ b/src/views/chart/ComboChartDemo.vue @@ -23,7 +23,7 @@ import EventBus from '@/EventBus'; export default { mounted() { - EventBus.$on('change-theme', event => { + EventBus.$on('change-theme', () => { if (event.dark) this.applyDarkTheme(); else diff --git a/src/views/chart/DoughnutChartDemo.vue b/src/views/chart/DoughnutChartDemo.vue index 30a80d35e..d5b1b17a2 100755 --- a/src/views/chart/DoughnutChartDemo.vue +++ b/src/views/chart/DoughnutChartDemo.vue @@ -23,7 +23,7 @@ import EventBus from '@/EventBus'; export default { mounted() { - EventBus.$on('change-theme', event => { + EventBus.$on('change-theme', () => { if (event.dark) this.chartOptions = this.getDarkTheme(); else diff --git a/src/views/chart/LineChartDemo.vue b/src/views/chart/LineChartDemo.vue index b4bef666b..231a06bc2 100755 --- a/src/views/chart/LineChartDemo.vue +++ b/src/views/chart/LineChartDemo.vue @@ -34,7 +34,7 @@ import EventBus from '@/EventBus'; export default { mounted() { - EventBus.$on('change-theme', event => { + EventBus.$on('change-theme', () => { if (event.dark) this.applyDarkTheme(); else diff --git a/src/views/chart/PieChartDemo.vue b/src/views/chart/PieChartDemo.vue index 88abf8fc0..7aa9ad0f8 100755 --- a/src/views/chart/PieChartDemo.vue +++ b/src/views/chart/PieChartDemo.vue @@ -23,7 +23,7 @@ import EventBus from '@/EventBus'; export default { mounted() { - EventBus.$on('change-theme', event => { + EventBus.$on('change-theme', () => { if (event.dark) this.chartOptions = this.getDarkTheme(); else diff --git a/src/views/chart/PolarAreaChartDemo.vue b/src/views/chart/PolarAreaChartDemo.vue index 22a1f39a9..4806d38c2 100755 --- a/src/views/chart/PolarAreaChartDemo.vue +++ b/src/views/chart/PolarAreaChartDemo.vue @@ -23,7 +23,7 @@ import EventBus from '@/EventBus'; export default { mounted() { - EventBus.$on('change-theme', event => { + EventBus.$on('change-theme', () => { if (event.dark) this.chartOptions = this.getDarkTheme(); else diff --git a/src/views/chart/RadarChartDemo.vue b/src/views/chart/RadarChartDemo.vue index acf4310f1..546bb50fa 100755 --- a/src/views/chart/RadarChartDemo.vue +++ b/src/views/chart/RadarChartDemo.vue @@ -23,7 +23,7 @@ import EventBus from '@/EventBus'; export default { mounted() { - EventBus.$on('change-theme', event => { + EventBus.$on('change-theme', () => { if (event.dark) this.chartOptions = this.getDarkTheme(); else diff --git a/src/views/tabview/TabViewDemo.vue b/src/views/tabview/TabViewDemo.vue index badec11c1..dc0a51652 100755 --- a/src/views/tabview/TabViewDemo.vue +++ b/src/views/tabview/TabViewDemo.vue @@ -129,7 +129,7 @@ export default { }, timeout: null, mounted() { - EventBus.$on('change-theme', event => { + EventBus.$on('change-theme', () => { this.timeout = setTimeout(() => { this.$refs.tabview1.updateInkBar(); this.$refs.tabview2.updateInkBar();