fixed:菜单删除功能细节调优 (#1705)

* 多文件: 菜单parentId由string改成uint

* sys_base_menu.go: fix table name "sys_base_menus" specified more than once (SQLSTATE 42712) (#1704)

---------

Co-authored-by: crazyrunsnail <fjyuan1991@163.com>
This commit is contained in:
PiexlMax(奇淼
2024-04-11 21:17:49 +08:00
committed by GitHub
co-authored by crazyrunsnail
parent 032910f87a
commit e3f8b8a394
10 changed files with 368 additions and 459 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ type AddMenuAuthorityInfo struct {
func DefaultMenu() []system.SysBaseMenu {
return []system.SysBaseMenu{{
GVA_MODEL: global.GVA_MODEL{ID: 1},
ParentId: "0",
ParentId: 0,
Path: "dashboard",
Name: "dashboard",
Component: "view/dashboard/index.vue",