From 94f052f5f807df6db0e1de9a2eb0ead646e2fe6a Mon Sep 17 00:00:00 2001 From: QM303176530 <303176530@qq.com> Date: Fri, 27 Mar 2020 20:34:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=9F=BA=E7=A1=80=E8=8F=9C=E5=8D=95=20=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E5=88=86=E9=85=8D=E6=9D=83=E9=99=90=E8=8F=9C=E5=8D=95=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=97=A0=E5=93=8D=E5=BA=94=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QMPlusServer/model/sysModel/sys_base_menu.go | 1 + QMPlusVuePage/src/view/superAdmin/autoCode/index.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/QMPlusServer/model/sysModel/sys_base_menu.go b/QMPlusServer/model/sysModel/sys_base_menu.go index 0d79637c..66e0581d 100644 --- a/QMPlusServer/model/sysModel/sys_base_menu.go +++ b/QMPlusServer/model/sysModel/sys_base_menu.go @@ -58,6 +58,7 @@ func (b *SysBaseMenu) UpdataBaseMenu() (err error) { upDataMap["title"] = b.Title upDataMap["icon"] = b.Icon upDataMap["sort"] = b.Sort + upDataMap["nick_name"] = b.Title err = qmsql.DEFAULTDB.Where("id = ?", b.ID).Find(&SysBaseMenu{}).Updates(upDataMap).Error err1 := qmsql.DEFAULTDB.Where("menu_id = ?", b.ID).Find(&[]SysMenu{}).Updates(upDataMap).Error fmt.Printf("菜单修改时候,关联菜单err1:%v,err:%v", err1, err) diff --git a/QMPlusVuePage/src/view/superAdmin/autoCode/index.vue b/QMPlusVuePage/src/view/superAdmin/autoCode/index.vue index f613084d..cf2966a5 100644 --- a/QMPlusVuePage/src/view/superAdmin/autoCode/index.vue +++ b/QMPlusVuePage/src/view/superAdmin/autoCode/index.vue @@ -3,6 +3,7 @@ +