feat(sidebar): extend table grouping to all object containers

This commit is contained in:
ReadMe.md authored and GitHub committed 2026-09-22 15:52:04 +08:00
1 parent e1a512fd59
commit 591e8f4909
20 files changed
+607 -169

No files matched your search

@@ -23,8 +23,10 @@ function confirmCreate() {
if (!scope || !name) return;
const groupId = connectionStore.createTableVGroup(scope, name, tableVGroupDialogParentGroupId.value);
if (groupId) {
// scope 即右键的源行节点,其 type 就是这批待移入行的类别(多选保证同类型)。
const rowType = scope.type;
for (const tableName of tableVGroupDialogTableNames.value) {
connectionStore.moveTableToVGroup(scope, tableName, groupId);
connectionStore.moveTableToVGroup(scope, tableName, groupId, rowType);
}
emit("created", tableVGroupNodeId(groupId));
}