From 70a3729e21ab7a74d0d50b7c9fd2baeb894a3624 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Mon, 12 Jun 2023 18:06:54 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E8=B5=84=E4=BA=A7=E5=8F=91?= =?UTF-8?q?=E7=8E=B0=E9=A1=B5=E9=9D=A2=20=E8=A1=A5=E5=85=85=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/page/tool/assetDiscovery.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/nezha-fronted/src/components/page/tool/assetDiscovery.vue b/nezha-fronted/src/components/page/tool/assetDiscovery.vue index 614565594..225ea7710 100644 --- a/nezha-fronted/src/components/page/tool/assetDiscovery.vue +++ b/nezha-fronted/src/components/page/tool/assetDiscovery.vue @@ -13,7 +13,8 @@ v-model="discoveryForm.subnetIds" class="right-box__select" popper-class="right-box-select-top prevent-clickoutside" - multiple placeholder="请选择" + multiple + :placeholder="$t('el.select.placeholder')" style="width: 240px" size="small"> --> -

Discovery asset

+

{{$t('tool.discoveryAsset')}}

@@ -272,7 +274,7 @@ export default { }) }, getIpamData () { - this.$get('ipam/subnet', { pageSize: -1, type: 4}).then(response => { + this.$get('ipam/subnet', { pageSize: -1, type: 4 }).then(response => { if (response.code === 200) { this.ipamData = response.data.list } @@ -347,7 +349,7 @@ export default { this.loading = false } } - }else { + } else { this.$message.error(response.msg || response.error) this.clearTask() }