refine else condition
This commit is contained in:
parent
22c642a7e1
commit
538f0a4016
@ -75,7 +75,8 @@ export default {
|
||||
this.spendPath += this.spendPath === '' ? 'M' : ' L'
|
||||
this.spendPath += cumulativePoint
|
||||
lastSpendPoint = cumulativePoint
|
||||
} else {
|
||||
|
||||
} else if (lastSpendPoint !== '') {
|
||||
this.projectedPath += this.projectedPath === '' ? `M${lastSpendPoint} L` : ' L'
|
||||
this.projectedPath += cumulativePoint
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user