use Eslint formatter code

This commit is contained in:
jiaming743 committed 2019-06-27 19:28:07 +08:00
1 parent 3cde8e553a
commit 16a31ed68f
15 files changed
+537 -29

No files matched your search

+3 -3
View File
@@ -128,7 +128,7 @@ export default {
return mergedConfig.data[activeIndex].name
},
fontSize () {
const { mergedConfig, activeIndex } = this
const { mergedConfig } = this
if (!mergedConfig) return ''
@@ -178,7 +178,7 @@ export default {
ringAnimation()
},
getRingOption () {
const { mergedConfig, getRealRadius, chart } = this
const { mergedConfig, getRealRadius } = this
const radius = getRealRadius()
@@ -217,7 +217,7 @@ export default {
return [insideRadius, outSideRadius]
},
ringAnimation () {
let { animation, activeIndex, getRingOption, chart, getRealRadius } = this
let { activeIndex, getRingOption, chart, getRealRadius } = this
const radius = getRealRadius()
const active = getRealRadius(true)