From fa74e35889d065b098d7108fd147b9ca415e88cd Mon Sep 17 00:00:00 2001 From: zhangyu Date: Sun, 10 Jan 2021 13:31:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9project=20asset=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=9A=84=E7=8A=B6=E6=80=81=E7=9A=84=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=20=E4=BB=A5=E5=8F=8Aendpoint=20Detail=E7=9A=84state=E7=9A=84?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/chart-detail.vue | 6 +++++- .../src/components/common/project/popData/assetTable.vue | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/charts/chart-detail.vue b/nezha-fronted/src/components/charts/chart-detail.vue index 401ed5c8c..c38657a87 100644 --- a/nezha-fronted/src/components/charts/chart-detail.vue +++ b/nezha-fronted/src/components/charts/chart-detail.vue @@ -42,7 +42,11 @@
- {{value == 1 ? $t('asset.inStock') : $t('asset.outStock')}} + + {{ $t('asset.inStock')}} + {{ $t('asset.notInStock')}} + {{ $t('asset.suspended')}} + {{value + ' ' + $t('overall.active')}}