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">