update dist and lib

This commit is contained in:
JM 2019-09-24 16:34:08 +08:00
parent d6f33bb7dc
commit e777112621
4 changed files with 2353 additions and 5845 deletions

4572
dist/datav.map.vue.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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}%',

View File

@ -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)