Showing
1 changed file
with
1 additions
and
2 deletions
| @@ -14307,7 +14307,6 @@ class HandleDataSource { | @@ -14307,7 +14307,6 @@ class HandleDataSource { | ||
| 14307 | const realDataList = data[attr] || [] | 14307 | const realDataList = data[attr] || [] |
| 14308 | 14308 | ||
| 14309 | const action = agg === 'NONE' ? 'unshift' : 'push' | 14309 | const action = agg === 'NONE' ? 'unshift' : 'push' |
| 14310 | - console.log({ message, record }) | ||
| 14311 | // chart insstance 是否已经接受过一次消息推送 | 14310 | // chart insstance 是否已经接受过一次消息推送 |
| 14312 | const isActive = instance.isActive | 14311 | const isActive = instance.isActive |
| 14313 | if (!isActive) { | 14312 | if (!isActive) { |
| @@ -14652,7 +14651,7 @@ class HandleDataSource { | @@ -14652,7 +14651,7 @@ class HandleDataSource { | ||
| 14652 | let newMax = Number('1'.padEnd(value.toString().length + 1, 0)) | 14651 | let newMax = Number('1'.padEnd(value.toString().length + 1, 0)) |
| 14653 | 14652 | ||
| 14654 | newMax = newMax < 100 ? 100 : newMax | 14653 | newMax = newMax < 100 ? 100 : newMax |
| 14655 | - | 14654 | + |
| 14656 | let max | 14655 | let max |
| 14657 | if (numberValue < newMax / 2) { | 14656 | if (numberValue < newMax / 2) { |
| 14658 | max = newMax / 2 | 14657 | max = newMax / 2 |