update dist and lib
This commit is contained in:
8192
dist/datav.map.vue.js
vendored
8192
dist/datav.map.vue.js
vendored
File diff suppressed because one or more lines are too long
2
dist/datav.min.vue.js
vendored
2
dist/datav.min.vue.js
vendored
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 percent = parseInt(value[activeIndex] / sum * 100)
|
||||
const percent = parseInt(value[activeIndex] / sum * 100) || 0
|
||||
|
||||
return {
|
||||
content: '{nt}%',
|
||||
|
@ -236,7 +236,7 @@ export default {
|
||||
data = data.map((row, i) => {
|
||||
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)
|
||||
|
||||
|
Reference in New Issue
Block a user