Browse Source

fix:添加id避免tree重复添加

main
songzhibin97 3 years ago
parent
commit
fe50461cbc
  1. 2
      server/model/request/sys_menu.go

2
server/model/request/sys_menu.go

@ -1,6 +1,7 @@
package request
import (
"gin-vue-admin/global"
"gin-vue-admin/model"
)
@ -12,6 +13,7 @@ type AddMenuAuthorityInfo struct {
func DefaultMenu() []model.SysBaseMenu {
return []model.SysBaseMenu{{
GVA_MODEL: global.GVA_MODEL{ID: 1},
ParentId: "0",
Path: "dashboard",
Name: "dashboard",

Loading…
Cancel
Save