use Eslint formatter code

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

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)