diff --git a/src/components/datav/chart-bar.vue b/src/components/datav/chart-bar.vue index c649567..d152b56 100644 --- a/src/components/datav/chart-bar.vue +++ b/src/components/datav/chart-bar.vue @@ -189,7 +189,7 @@ function getColor(val) { font-size: 12px; .bar-item_content { - width: calc(100% - 180px); + width: calc(100% - var(--label-width)); } } diff --git a/src/components/negativeInfo/depart-dialog.vue b/src/components/negativeInfo/depart-dialog.vue index ca8d400..421da06 100644 --- a/src/components/negativeInfo/depart-dialog.vue +++ b/src/components/negativeInfo/depart-dialog.vue @@ -193,7 +193,7 @@