fix 🐛 优化迁移功能

This commit is contained in:
linwenxiang committed 2021-04-26 14:47:31 +08:00
1 parent 845558cc65
commit bf7934c20a
21 files changed
+256 -466

No files matched your search

+2 -1
View File
@@ -3,6 +3,7 @@ package models
import (
"errors"
"github.com/go-admin-team/go-admin-core/sdk/pkg"
"go-admin/common/models"
"gorm.io/gorm"
@@ -33,7 +34,7 @@ type Menu struct {
RoleId int `gorm:"-"`
Children []Menu `json:"children" gorm:"-"`
IsSelect bool `json:"is_select" gorm:"-"`
BaseModel
models.ModelTime
}
func (Menu) TableName() string {