support drag-and-drop to change query display orders

This commit is contained in:
MaysWind
2026-01-07 23:08:30 +08:00
parent d462d0164c
commit ab88b0bf44
4 changed files with 364 additions and 362 deletions
+2 -2
View File
@@ -340,7 +340,7 @@ function init(initProps: InsightsExplorerProps): void {
loadExplorer(initProps.initId);
}
} else {
explorersStore.updateCurrentInsightsExplorer(InsightsExplorer.createNewExplorer());
explorersStore.updateCurrentInsightsExplorer(InsightsExplorer.createNewExplorer(generateRandomUUID()));
}
if (!needReload && !explorersStore.transactionExplorerStateInvalid && !explorersStore.insightsExplorerListStateInvalid) {
@@ -394,7 +394,7 @@ function createNewExplorer(): void {
return;
}
explorersStore.updateCurrentInsightsExplorer(InsightsExplorer.createNewExplorer());
explorersStore.updateCurrentInsightsExplorer(InsightsExplorer.createNewExplorer(generateRandomUUID()));
router.push(getFilterLinkUrl());
}