Skip to content

Commit

Permalink
fix(frontend): mongo清档提单问题修复 TencentBlueKing#4460
Browse files Browse the repository at this point in the history
  • Loading branch information
jinquantianxia authored and zhangzhw8 committed May 17, 2024
1 parent d719f18 commit 2ccc2f5
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@
});
</script>
<script setup lang="ts">
import { ClusterTypes } from '@common/const';
import OperateColumn from '@components/render-table/columns/operate-column/index.vue';
import RenderCluster from '@views/mongodb-manage/components/edit-field/ClusterName.vue';
Expand All @@ -88,7 +90,7 @@
interface Props {
data: IDataRow;
removeable: boolean;
clusterType: string;
clusterType: ClusterTypes;
isShardCluster: boolean;
}
Expand Down Expand Up @@ -177,8 +179,8 @@
ignoreTablesData,
]) =>
({
cluster_ids: isShardCluster.value ? [clusterId] : clusterIds,
cluster_type: clusterType.value,
cluster_ids: props.isShardCluster ? [clusterId] : clusterIds,
cluster_type: props.clusterType,
ns_filter: {
...dbPatternsData,
...tablePatternsData,
Expand Down

0 comments on commit 2ccc2f5

Please sign in to comment.