From 2e7b236d9435d757071a3145e802936a573dd182 Mon Sep 17 00:00:00 2001 From: Austin <1344583166@qq.com> Date: Thu, 28 Nov 2024 11:06:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20dumper=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=E5=8F=82=E6=95=B0=E4=BF=AE=E5=A4=8D=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20#8244?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dbm-ui/frontend/src/types/auto-imports.d.ts | 2 +- .../components/instance-list/manual-migration/Index.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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/mysql/dumper/components/render-list/components/instance-list/manual-migration/Index.vue b/dbm-ui/frontend/src/views/db-manage/mysql/dumper/components/render-list/components/instance-list/manual-migration/Index.vue index 9a83db378c..ec8c4305b0 100644 --- a/dbm-ui/frontend/src/views/db-manage/mysql/dumper/components/render-list/components/instance-list/manual-migration/Index.vue +++ b/dbm-ui/frontend/src/views/db-manage/mysql/dumper/components/render-list/components/instance-list/manual-migration/Index.vue @@ -199,12 +199,12 @@ is_safe: true, infos: [ { - cluster_id: props.data.source_cluster.id, + cluster_id: props.data.cluster_id, switch_instances: [ { dumper_instance_id: props.data.id, - host: props.data.source_cluster.master_ip, - port: props.data.source_cluster.master_port, + host: props.data.ip, + port: props.data.listen_port, repl_binlog_file: formModel.binlog_file, repl_binlog_pos: formModel.binlog_pos, },