From 979b2e175d552615643ad9a1e264c0f9b7a515ce Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 25 Aug 2023 15:44:21 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-3136=20fix=EF=BC=9A=E5=A2=9E=E5=8A=A0=20pla?= =?UTF-8?q?ceholder=20=E6=8F=90=E7=A4=BA=20=E4=B8=80=E5=B9=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=20=E7=9B=B8=E5=90=8C=E7=BB=84=E4=BB=B6=E5=85=B6?= =?UTF-8?q?=E5=AE=83=E8=A1=A8=E5=8D=95=E7=9A=84placeholder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/rightBox/chart/chartConfig.vue | 2 +- .../common/rightBox/chart/systemChartConfig.vue | 2 +- .../src/components/common/rightBox/editEndpointBoxNew.vue | 8 ++++---- .../src/components/common/rightBox/moduleBox.vue | 8 ++++---- .../common/rightBox/software/softwareTypeBox.vue | 2 +- nezha-fronted/src/components/page/config/monitor.vue | 2 +- nezha-fronted/src/components/page/tool/ping.vue | 2 +- nezha-fronted/src/components/page/tool/trace.vue | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue index b549406a6..e968db0ab 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue @@ -175,7 +175,7 @@ diff --git a/nezha-fronted/src/components/common/rightBox/chart/systemChartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/systemChartConfig.vue index 53f05ff6c..5fb3d117d 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/systemChartConfig.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/systemChartConfig.vue @@ -189,7 +189,7 @@ diff --git a/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue b/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue index 6bd62e839..768632ed8 100644 --- a/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue +++ b/nezha-fronted/src/components/common/rightBox/editEndpointBoxNew.vue @@ -209,7 +209,7 @@ @@ -271,7 +271,7 @@ :maxlength="32" ref="relabelTag" tabindex="9999" - :placeholder="$t('overall.addParameter')" + :placeholder="$t('tagsInput.placeholder')" :tags="item.source_labels" @before-adding-tag="beforeAddingTag" @blur="relabelTabBlur" @@ -440,7 +440,7 @@ @@ -474,7 +474,7 @@ :maxlength="32" :ref="'logsRelabelTag'+index+subIndex" tabindex="9999" - :placeholder="$t('overall.addParameter')" + :placeholder="$t('tagsInput.placeholder')" :tags="subItem.source_labels" @before-adding-tag="beforeAddingTag" @blur="logsRelabelTabBlur(index,subIndex)" diff --git a/nezha-fronted/src/components/common/rightBox/moduleBox.vue b/nezha-fronted/src/components/common/rightBox/moduleBox.vue index edc9e2faf..19b18762c 100644 --- a/nezha-fronted/src/components/common/rightBox/moduleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/moduleBox.vue @@ -188,7 +188,7 @@ @@ -250,7 +250,7 @@ :maxlength="32" ref="relabelTag" tabindex="9999" - :placeholder="$t('overall.addParameter')" + :placeholder="$t('tagsInput.placeholder')" :tags="item.source_labels" @before-adding-tag="beforeAddingTag" @blur="relabelTabBlur" @@ -421,7 +421,7 @@ @@ -475,7 +475,7 @@ :maxlength="32" :ref="'logsRelabelTag'+index+subIndex" tabindex="9999" - :placeholder="$t('overall.addParameter')" + :placeholder="$t('tagsInput.placeholder')" :tags="subItem.source_labels" @before-adding-tag="beforeAddingTag" @blur="logsRelabelTabBlur(index,subIndex)" diff --git a/nezha-fronted/src/components/common/rightBox/software/softwareTypeBox.vue b/nezha-fronted/src/components/common/rightBox/software/softwareTypeBox.vue index fb196fe2f..a32bdbed7 100644 --- a/nezha-fronted/src/components/common/rightBox/software/softwareTypeBox.vue +++ b/nezha-fronted/src/components/common/rightBox/software/softwareTypeBox.vue @@ -47,7 +47,7 @@ diff --git a/nezha-fronted/src/components/page/config/monitor.vue b/nezha-fronted/src/components/page/config/monitor.vue index be6ea513f..1c131cbd7 100644 --- a/nezha-fronted/src/components/page/config/monitor.vue +++ b/nezha-fronted/src/components/page/config/monitor.vue @@ -32,7 +32,7 @@ v-model="tag" :maxlength="32" :class="monitor.interface_name.length !== 0 ? 'interface-name' : ''" - :placeholder="$t('overall.add.interface_name')" + :placeholder="$t('tagsInput.placeholder')" :tags="monitor.interface_name" @tags-changed="newTags=> monitor.interface_name = newTags" /> diff --git a/nezha-fronted/src/components/page/tool/ping.vue b/nezha-fronted/src/components/page/tool/ping.vue index 6378b5f7e..29d258a7a 100644 --- a/nezha-fronted/src/components/page/tool/ping.vue +++ b/nezha-fronted/src/components/page/tool/ping.vue @@ -13,7 +13,7 @@ class="ipInput" style="height: 190px" v-model="ip" - :placeholder="$t('overall.placeHolder')+' IP'" + :placeholder="$t('tagsInput.placeholder')+' IP'" :add-from-paste="false" :tags="tags" @tags-changed="newTags => tags = newTags" diff --git a/nezha-fronted/src/components/page/tool/trace.vue b/nezha-fronted/src/components/page/tool/trace.vue index 7ecf66341..781204e11 100644 --- a/nezha-fronted/src/components/page/tool/trace.vue +++ b/nezha-fronted/src/components/page/tool/trace.vue @@ -12,7 +12,7 @@