Skip to content

Commit

Permalink
fix(frontend): sqlserver 数据备份目标集群校验 TencentBlueKing#7025
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 18883
  • Loading branch information
hLinx committed Sep 20, 2024
1 parent 0a374c8 commit 42ff26a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@

onBeforeUnmount(() => {
if (modelValue.value) {
delete clusterIdMemo[modelValue.value.id];
delete clusterIdMemo[instanceKey];
}
});

defineExpose<Exposes>({
getValue(field) {
getValue() {
// 用户输入未完成验证
return editRef.value!.getValue().then(() => ({
cluster_id: modelValue.value!.id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
id: number;
domain: string;
cloudId: number;
majorVersion: string;
};
dbList: string[];
ignoreDbList: string[];
Expand All @@ -75,9 +76,7 @@
dbList: data.dbList || [],
ignoreDbList: data.ignoreDbList || [],
});
</script>

<script setup lang="ts">
interface Props {
data: IDataRow;
removeable: boolean;
Expand All @@ -91,7 +90,8 @@
interface Exposes {
getValue: () => Promise<any>;
}

</script>
<script setup lang="ts">
const props = defineProps<Props>();
const emits = defineEmits<Emits>();

Expand Down

0 comments on commit 42ff26a

Please sign in to comment.