Skip to content

Commit

Permalink
fix(frontend): sqlserver资源规格问题修复 TencentBlueKing#8959
Browse files Browse the repository at this point in the history
  • Loading branch information
jinquantianxia committed Jan 9, 2025
1 parent 9fc2155 commit 7edec42
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
const { t } = useI18n();

const rowRefs = ref();
const tableData = ref<IDataRow[]>([createRowData()]);
const tableData = ref<IDataRow[]>([]);
const diskTypeList = ref<{ label: string; value: string }[]>([]);

const mountPointList = computed(() => tableData.value.map((item) => item.mount_point));
Expand Down Expand Up @@ -132,7 +132,7 @@
};

defineExpose<Exposes>({
getValue: () => Promise.all(rowRefs.value.map((item: any) => item.getValue())),
getValue: () => Promise.all(rowRefs.value ? rowRefs.value.map((item: any) => item.getValue()) : []),
});
</script>
<style lang="less" scoped>
Expand Down

0 comments on commit 7edec42

Please sign in to comment.