feat:完善项目

This commit is contained in:
henry
2021-11-16 16:39:21 +08:00
parent 978918e5aa
commit 48319d9632
8 changed files with 83 additions and 12 deletions

View File

@ -66,7 +66,7 @@ func TreeIdentity(iModel model2.IModel, src []*model.SysMenuScene, parentID uint
out := make([]*InstanceIdentityInfo, 0)
for _, v := range src {
if v.ParentID == parentID {
if v.ParentID == parentID && v.ID > 0 {
iModel.SetID(v.ID)
id := iModel.GetEncodeID()