From 66711316c977ae064bc8140aedab919856522ad9 Mon Sep 17 00:00:00 2001 From: Austin <1344583166@qq.com> Date: Fri, 6 Sep 2024 16:13:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20mysql=E3=80=81spider=E8=AF=AD?= =?UTF-8?q?=E6=B3=95=E6=A3=80=E6=B5=8B=E8=A1=A5=E5=85=85cluster=5Ftype=20#?= =?UTF-8?q?6723=20#=20Reviewed,=20transaction=20id:=2017589?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../db-manage/common/sql-execute/execute-objects/Index.vue | 2 ++ .../sql-execute/execute-objects/RenderData/RenderSql/Index.vue | 2 ++ .../RenderData/RenderSql/components/sql-content/Index.vue | 2 ++ .../components/sql-content/components/local-file/Index.vue | 3 +++ .../components/sql-content/components/manual-input/Index.vue | 2 ++ .../common/sql-execute/execute-objects/RenderData/Row.vue | 2 ++ .../frontend/src/views/mysql/sql-execute/steps/step1/Index.vue | 1 + .../src/views/spider-manage/sql-execute/steps/step1/Index.vue | 1 + 8 files changed, 15 insertions(+) diff --git a/dbm-ui/frontend/src/views/db-manage/common/sql-execute/execute-objects/Index.vue b/dbm-ui/frontend/src/views/db-manage/common/sql-execute/execute-objects/Index.vue index 75be95e845..f0697d69ad 100644 --- a/dbm-ui/frontend/src/views/db-manage/common/sql-execute/execute-objects/Index.vue +++ b/dbm-ui/frontend/src/views/db-manage/common/sql-execute/execute-objects/Index.vue @@ -23,6 +23,7 @@ v-for="(item, index) in modelValue" :key="item.rowKey" ref="rowRef" + :cluster-type="clusterType" :cluster-version-list="clusterVersionList" :data="item" :removeable="modelValue.length < 2" @@ -41,6 +42,7 @@ interface Props { clusterVersionList: string[]; + clusterType: 'mysql' | 'tendbcluster'; } defineProps(); diff --git a/dbm-ui/frontend/src/views/db-manage/common/sql-execute/execute-objects/RenderData/RenderSql/Index.vue b/dbm-ui/frontend/src/views/db-manage/common/sql-execute/execute-objects/RenderData/RenderSql/Index.vue index 6f2da3e48e..c74c57ae51 100644 --- a/dbm-ui/frontend/src/views/db-manage/common/sql-execute/execute-objects/RenderData/RenderSql/Index.vue +++ b/dbm-ui/frontend/src/views/db-manage/common/sql-execute/execute-objects/RenderData/RenderSql/Index.vue @@ -20,6 +20,7 @@ v-model="modelValue" v-model:importMode="importMode" v-model:is-show="isShowSql" + :cluster-type="clusterType" :cluster-version-list="clusterVersionList">