diff --git a/nezha-fronted/src/components/common/alert/alertStateInfo.vue b/nezha-fronted/src/components/common/alert/alertStateInfo.vue
index cdf8ee4d2..2970f58bf 100644
--- a/nezha-fronted/src/components/common/alert/alertStateInfo.vue
+++ b/nezha-fronted/src/components/common/alert/alertStateInfo.vue
@@ -86,7 +86,7 @@ export default {
? document.body.clientWidth
: document.documentElement.clientWidth
let leftOffSetView = 0
- let leftOffSet = this.detailList ? -80 : 10
+ let leftOffSet = this.detailList ? -60 : 20
let topOffSet = this.detailList ? 60 : 22
let topOffSetView = 0
let labelPosition = {
@@ -122,9 +122,8 @@ export default {
}
if (position.left > clientWidth / 2) {
delete labelPosition.left
-
labelPosition.right =
- clientWidth - position.left - leftOffSetView - position.width * 3.3 + 'px'
+ clientWidth - position.left - leftOffSetView + 'px'
}
return labelPosition
}
diff --git a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue
index e09f84c05..c6ec0c422 100644
--- a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue
+++ b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue
@@ -488,7 +488,7 @@
- {{item.value}}
+ {{item.title}}