diff --git a/dbm-ui/frontend/src/locales/zh-cn.json b/dbm-ui/frontend/src/locales/zh-cn.json index 9d5a38d36e..683573679e 100644 --- a/dbm-ui/frontend/src/locales/zh-cn.json +++ b/dbm-ui/frontend/src/locales/zh-cn.json @@ -3706,5 +3706,6 @@ "单据协助设置": "单据协助设置", "主域名,从域名,单节点必须分开查询": "主域名,从域名,单节点必须分开查询", "实际内存分配比率": "实际内存分配比率", + "错误日志": "错误日志", "这行勿动!新增翻译请在上一行添加!": "" } diff --git a/dbm-ui/frontend/src/types/auto-imports.d.ts b/dbm-ui/frontend/src/types/auto-imports.d.ts index d0c217f6f1..7021ac5101 100644 --- a/dbm-ui/frontend/src/types/auto-imports.d.ts +++ b/dbm-ui/frontend/src/types/auto-imports.d.ts @@ -71,6 +71,6 @@ declare global { // for type re-export declare global { // @ts-ignore - export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue' + export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue' import('vue') } diff --git a/dbm-ui/frontend/src/views/temporary-paassword-modify/components/UpdateResult.vue b/dbm-ui/frontend/src/views/temporary-paassword-modify/components/UpdateResult.vue index bedb013240..5788d5488c 100644 --- a/dbm-ui/frontend/src/views/temporary-paassword-modify/components/UpdateResult.vue +++ b/dbm-ui/frontend/src/views/temporary-paassword-modify/components/UpdateResult.vue @@ -202,7 +202,9 @@ successList.value = data.success ? getInstanceList(data.success) : []; errorList.value = data.fail ? getInstanceList(data.fail) - : props.instanceList.map((item) => `${item.ip}:${item.port}`); + : props.instanceList + .map((item) => `${item.ip}:${item.port}`) + .filter((item) => !successList.value.includes(item)); } }, });