修改bug

This commit is contained in:
‘937886381’ 2024-04-03 16:34:15 +08:00
父節點 1bbd749094
當前提交 a6ffba4cf8
共有 2 個文件被更改,包括 5 次插入6 次删除

查看文件

@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-01-29 16:50:26
* @LastEditTime: 2024-04-03 16:29:24
* @LastEditTime: 2024-04-03 16:34:05
* @LastEditors: zhp
* @Description:
-->
@ -623,8 +623,8 @@ export default {
</span>`,
`<span style="color:rgba(255,255,255,0.5)">${this.formatTime(item.time) || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${this.getSize(item.size) || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${this, NumFormat(item.productArea) + '㎡' || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${this, NumFormat(item.wasteArea) + '㎡' || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${this.NumFormat(item.productArea) + '㎡' || ''}</span>`,
`<span style="color:rgba(255,255,255,0.5)">${this.NumFormat(item.wasteArea) + '㎡' || ''}</span>`,
`<div style = "${(item.product * 100).toFixed(2) > 91 ? 'display:block;color:#00FFF7' : 'display:none;'}">${(item.product * 100).toFixed(2) + '%' || ''}</div>
<div style = "${(item.product * 100).toFixed(2) < 91 ? 'display:block; color:rgba(255, 209, 96, 1)' : 'display:none;'}">${(item.product * 100).toFixed(2) + '%' || ''}</div>`
])

查看文件

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2022-01-21 14:43:06
* @LastEditors: zhp
* @LastEditTime: 2024-03-29 14:50:50
* @LastEditTime: 2024-04-03 16:33:24
* @Description:
-->
<template>
@ -85,7 +85,6 @@ export default {
defaultConfig: {
// legend
legend: {
orient: 'vertical',
left: '75%',
bottom: 0,
itemHeight: 10,
@ -197,7 +196,7 @@ export default {
//
...this.defaultConfig.legend,
//
...this.legendConfig
// ...this.legendConfig
},
color: this.barColor,
series: [