From 5c1618b4e2cf613ad9c0c54f924e8fd31e6dd64b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Wed, 2 Aug 2023 18:37:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dnpm=20location?= =?UTF-8?q?=E6=8A=98=E7=BA=BF=E5=9B=BEtooltip=E4=B8=8D=E5=AF=B9=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/charts2/charts/npm/NpmLine.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/charts2/charts/npm/NpmLine.vue b/src/views/charts2/charts/npm/NpmLine.vue index c6e3d7d4..2b612f4a 100644 --- a/src/views/charts2/charts/npm/NpmLine.vue +++ b/src/views/charts2/charts/npm/NpmLine.vue @@ -195,7 +195,7 @@ export default { shadowBlur: t.positioning ? this.sizes[t.positioning] + 2 : 0 } }, - name: t.invertTab ? t.legend : this.$t(chartData.i18n), + name: t.invertTab ? t.legend : this.$t(chartData.i18n) || chartData.name, stack: this.chartData.params.isStack ? (t.legend === this.$t('network.total') ? '' : 'network.total') : '', lineStyle: { width: 1