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 authored and zhangzhw8 committed Sep 24, 2024
1 parent 2888f3e commit c476be2
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 c476be2

Please sign in to comment.