feat: 优化搜索表单

This commit is contained in:
2026-08-20 00:25:43 +08:00
parent 0ddaf55820
commit 8e4a526e9a
10 changed files with 14 additions and 19 deletions
@@ -417,7 +417,7 @@ function getMenuTypeColor(type: string) {
const [Grid, gridApi] = useVbenVxeGrid({
gridOptions,
showSearchForm: false,
tableTitle: '菜单管理',
tableTitle: '系统菜单',
gridEvents: {
rowDragend: handleDragSort,
cellMenu: onCellMenu,
@@ -426,7 +426,7 @@ const [Grid, gridApi] = useVbenVxeGrid({
</script>
<template>
<Page title="菜单管理" auto-content-height>
<Page auto-content-height>
<!-- VbenVxeGrid 表格 -->
<Grid :loading="loading" class="menu-grid">
<!-- 工具栏工具 -->
@@ -444,10 +444,6 @@ const [Grid, gridApi] = useVbenVxeGrid({
<CollapseIcon />
全部收起
</Button>
<div class="text-sm text-gray-500">
支持跨父级拖拽(按住 Ctrl
可拖成目标子节点);右键行可编辑 / 增下级 / 删除
</div>
</Space>
</template>