From c633c02c800b3e4bdc704132b68e77fad2378129 Mon Sep 17 00:00:00 2001 From: Austin <1344583166@qq.com> Date: Mon, 2 Dec 2024 16:03:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20sqlserver=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=E4=BA=A4=E4=BA=92=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20#8341?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dbm-ui/frontend/src/locales/zh-cn.json | 3 ++ dbm-ui/frontend/src/types/auto-imports.d.ts | 2 +- .../render-data/RenderDstCluster.vue | 49 +++++++++---------- .../render-data/RenderSrcCluster.vue | 6 +-- 4 files changed, 31 insertions(+), 29 deletions(-) diff --git a/dbm-ui/frontend/src/locales/zh-cn.json b/dbm-ui/frontend/src/locales/zh-cn.json index 2631624acc..20050ec280 100644 --- a/dbm-ui/frontend/src/locales/zh-cn.json +++ b/dbm-ui/frontend/src/locales/zh-cn.json @@ -3659,5 +3659,8 @@ "请选择本地 SQL 文件": "请选择本地 SQL 文件", "忽略错误": "忽略错误", "强制失败节点成功": "强制失败节点成功", + "源集群不能为空": "源集群不能为空", + "源集群不存在": "源集群不存在", + "源集群重复": "源集群重复", "这行勿动!新增翻译请在上一行添加!": "" } diff --git a/dbm-ui/frontend/src/types/auto-imports.d.ts b/dbm-ui/frontend/src/types/auto-imports.d.ts index 7021ac5101..d0c217f6f1 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, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue' + export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue' import('vue') } diff --git a/dbm-ui/frontend/src/views/db-manage/sqlserver/data-migrate/pages/page1/components/render-data/RenderDstCluster.vue b/dbm-ui/frontend/src/views/db-manage/sqlserver/data-migrate/pages/page1/components/render-data/RenderDstCluster.vue index b6ea71d3f0..51955bf37d 100644 --- a/dbm-ui/frontend/src/views/db-manage/sqlserver/data-migrate/pages/page1/components/render-data/RenderDstCluster.vue +++ b/dbm-ui/frontend/src/views/db-manage/sqlserver/data-migrate/pages/page1/components/render-data/RenderDstCluster.vue @@ -37,11 +37,11 @@ :tab-list-config="clusterSelectorTabConfig" @change="handelClusterChange" /> - -->