优化历史增量数据显示效果

This commit is contained in:
ngfchl
2022-12-26 23:15:22 +08:00
parent 34f3508693
commit 37cf05722f

View File

@@ -717,12 +717,12 @@
<hr>
`
total_str += text
return `<div style="width: 250px;">${total_str}</div>`
return `<div style="width: 280px;">${total_str}</div>`
},
position: function (point, params, dom, rect, size) {
let customVH = window.innerWidth
if (customVH - point[0] < 250) {
point[0] = customVH - 300
if (customVH - point[0] < 280) {
point[0] = customVH - 320
}
console.log(customVH)
console.log(point[0])