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() }