fix(dameng): refresh object browser after compiling views

This commit is contained in:
guan xin authored and GitHub committed 2026-09-18 18:16:13 +08:00
1 parent 28c219ff03
commit 8454560f66
6 files changed
+194 -5

No files matched your search

@@ -3102,7 +3102,11 @@ function clearObjectSearch() {
getSearchInput()?.focus();
}
defineExpose({ focusSearch, refresh });
function matchesRefreshScope(scope: { schema?: string; catalog?: string }): boolean {
return (selectedSchema.value || "") === (scope.schema || "") && (props.catalog || "") === (scope.catalog || "");
}
defineExpose({ focusSearch, refresh, matchesRefreshScope });
onBeforeUnmount(() => {
objectBrowserRowsLoadGuard.invalidate();