Merge 2515ff8e25d2bc2e3a747ab5904dd88ddb47ea1f into dc3b2476c4eb61c37424a1ca2f46859e4e6fcd81
This commit is contained in:
commit
688f220024
3
scope.go
3
scope.go
@ -112,6 +112,9 @@ func (scope *Scope) Fields() []*Field {
|
|||||||
)
|
)
|
||||||
|
|
||||||
for _, structField := range scope.GetModelStruct().StructFields {
|
for _, structField := range scope.GetModelStruct().StructFields {
|
||||||
|
if structField.IsIgnored {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if isStruct {
|
if isStruct {
|
||||||
fieldValue := indirectScopeValue
|
fieldValue := indirectScopeValue
|
||||||
for _, name := range structField.Names {
|
for _, name := range structField.Names {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user