Skip to content

Commit b01b27f

Browse files
authored
Merge pull request #2111 from zayn-code/dict
修复字典值分页bug
2 parents a1dfc36 + d40b1ba commit b01b27f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/service/system/sys_dictionary_detail.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func (dictionaryDetailService *DictionaryDetailService) GetSysDictionaryDetailIn
8383
if err != nil {
8484
return
8585
}
86-
err = db.Limit(limit).Offset(offset).Order("sort").Find(&sysDictionaryDetails).Error
86+
err = db.Limit(limit).Offset(offset).Order("sort").Order("id").Find(&sysDictionaryDetails).Error
8787
return sysDictionaryDetails, total, err
8888
}
8989

0 commit comments

Comments
 (0)