diff --git a/nezha-fronted/src/components/common/project/meta2d/js/meta2dMainCalc.js b/nezha-fronted/src/components/common/project/meta2d/js/meta2dMainCalc.js index ecf6e908c..b0db2552b 100644 --- a/nezha-fronted/src/components/common/project/meta2d/js/meta2dMainCalc.js +++ b/nezha-fronted/src/components/common/project/meta2d/js/meta2dMainCalc.js @@ -346,7 +346,6 @@ export default { if (!positionShow) { return } - console.log(pen) this.chartParams = { ...pen.data.tooltip, unit: this.params.unit, @@ -366,7 +365,7 @@ export default { } else { this.position.left = ePosition.layerX - 20 - 400 } - if (boxHeight > (ePosition.layerY + 300)) { + if (boxHeight / 2 > ePosition.layerY) { this.position.top = ePosition.layerY + 50 } else { this.position.top = ePosition.layerY - 300 diff --git a/nezha-fronted/src/components/common/rightBox/agentBox.vue b/nezha-fronted/src/components/common/rightBox/agentBox.vue index 61c221fb1..b9ce5a1a5 100644 --- a/nezha-fronted/src/components/common/rightBox/agentBox.vue +++ b/nezha-fronted/src/components/common/rightBox/agentBox.vue @@ -19,7 +19,7 @@
- + {{item.name}} diff --git a/nezha-fronted/src/components/common/rightBox/dcBox.vue b/nezha-fronted/src/components/common/rightBox/dcBox.vue index 8aea862ca..72ce7aba8 100644 --- a/nezha-fronted/src/components/common/rightBox/dcBox.vue +++ b/nezha-fronted/src/components/common/rightBox/dcBox.vue @@ -21,7 +21,7 @@ - + {{item.name}}@{{item.username}} diff --git a/nezha-fronted/src/components/common/rightBox/panelBox.vue b/nezha-fronted/src/components/common/rightBox/panelBox.vue index f22c81c4d..5f501c4d8 100644 --- a/nezha-fronted/src/components/common/rightBox/panelBox.vue +++ b/nezha-fronted/src/components/common/rightBox/panelBox.vue @@ -43,7 +43,7 @@ - + @@ -53,7 +53,7 @@ - + - + + v-model="editPanel.param.report.receivers" clearable multiple placeholder="" popper-class="right-box-select-top prevent-clickoutside right-box-select-width" size="small" value-key="chartType">