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

@ -266,7 +266,7 @@ export default {
const firstPoint = points[0]
const lastPoint = points.slice(-1)[0]
const [w, h] = area
const h = area[1]
ctx.lineTo(lastPoint[0], h)
ctx.lineTo(firstPoint[0], h)
@ -285,8 +285,6 @@ export default {
const w = render.area[0]
waves.forEach(graph => {
const reset = repeat % 2 === 0
graph.attr('style', { translate: [0, 0] })
graph.animation('style', {
@ -309,7 +307,7 @@ export default {
init()
},
beforeDestroy () {
const { calcData, render } = this
const { render } = this
render.delAllGraph()