NEZ-2543 feat:stat chart支持sparkline mode页面开发

This commit is contained in:
zyh
2023-02-13 15:27:30 +08:00
parent a93bf5a881
commit 8353046835
9 changed files with 297 additions and 160 deletions

View File

@@ -251,6 +251,9 @@ export default {
delete params.param.min
delete params.param.max
}
if (!this.isShowSparkline(params.type)) {
delete params.param.sparklineMode
}
if (!params.x && !params.y && this.from === 'endpointQuery') { // endpointQuery 新增 放在最后
params.x = 0
params.y = 999