update dist and lib
This commit is contained in:
parent
d6f33bb7dc
commit
e777112621
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -113,7 +113,7 @@ export default {
|
||||||
|
|
||||||
const sum = value.reduce((all, v) => all + v, 0)
|
const sum = value.reduce((all, v) => all + v, 0)
|
||||||
|
|
||||||
const percent = parseInt(value[activeIndex] / sum * 100)
|
const percent = parseInt(value[activeIndex] / sum * 100) || 0
|
||||||
|
|
||||||
return {
|
return {
|
||||||
content: '{nt}%',
|
content: '{nt}%',
|
||||||
|
|
|
@ -236,7 +236,7 @@ export default {
|
||||||
data = data.map((row, i) => {
|
data = data.map((row, i) => {
|
||||||
row = [...row]
|
row = [...row]
|
||||||
|
|
||||||
const indexTag = `<span class="index" style="background-color: ${headerBGC};">${i + 1}</spand>`
|
const indexTag = `<span class="index" style="background-color: ${headerBGC};">${i + 1}</span>`
|
||||||
|
|
||||||
row.unshift(indexTag)
|
row.unshift(indexTag)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue