统一表属性面板中编辑表结构图标为 PencilRuler (#3574)

This commit is contained in:
gggaiitx
2026-07-15 18:02:06 +08:00
committed by GitHub
parent bee64df77b
commit 1b3f182202
2 changed files with 3 additions and 4 deletions
@@ -68,7 +68,7 @@ import {
TableProperties,
Database,
Columns3,
Columns3Cog,
PencilRuler,
Timer,
} from "@lucide/vue";
import { Button } from "@/components/ui/button";
@@ -10657,7 +10657,7 @@ const gridContextMenuItems = computed<ContextMenuItem[]>(() => {
</Button>
</div>
<Button v-if="canOpenTableStructureEditor" variant="ghost" size="sm" class="table-info-action-button h-6 px-2 text-xs" :title="t('contextMenu.editStructure')" :aria-label="t('contextMenu.editStructure')" @click="openTableStructureEditor">
<Columns3Cog class="w-3 h-3" />
<PencilRuler class="w-3 h-3" />
<span class="table-info-action-label">{{ t("contextMenu.editStructure") }}</span>
</Button>
<Button variant="ghost" size="icon" class="h-5 w-5" @click="showTableInfo = false">
@@ -14,7 +14,6 @@ import {
CopyPlus,
ChevronDown,
ChevronRight,
Columns3Cog,
Download,
Eraser,
Eye,
@@ -2684,7 +2683,7 @@ function getObjectBrowserMenuItems(item: ObjectBrowserRow): ContextMenuItem[] {
</Button>
</div>
<Button v-if="canOpenTableStructureEditor" variant="ghost" size="sm" class="table-info-action-button h-6 px-2 text-xs" :title="t('contextMenu.editStructure')" :aria-label="t('contextMenu.editStructure')" @click="openTableStructureEditor">
<Columns3Cog class="w-3 h-3" />
<PencilRuler class="w-3 h-3" />
<span class="table-info-action-label">{{ t("contextMenu.editStructure") }}</span>
</Button>
<Button variant="ghost" size="icon" class="h-5 w-5" @click="closeSidePanel">