fix(grid): trigger index load on table identity change

This commit is contained in:
高桥凉介 authored and GitHub committed 2026-08-07 15:40:13 +08:00
1 parent 9893ac8734
commit 9fab90b617
2 files changed
+146 -115

No files matched your search

@@ -7921,6 +7921,10 @@ watch(
triggers.value = [];
triggersLoaded.value = false;
triggersError.value = "";
// 表身份变更后,主动触发索引加载,确保索引指示器在切换表后立即可见
if (showIndexIndicatorsInHeader.value && canShowTableIndexes.value && currentIndexTableIdentity.value) {
void fetchIndexes();
}
if (showTableInfo.value) selectTableInfoTab(activeTableInfoTab.value);
},
);