fix(lint): format setting service
This commit is contained in:
parent
62962c05f1
commit
b37afd68ec
@ -1109,7 +1109,6 @@ func normalizeTablePreferences(defaultPageSize int, options []int) (int, []int)
|
||||
return defaultPageSize, normalizedOptions
|
||||
}
|
||||
|
||||
|
||||
// getStringOrDefault 获取字符串值或默认值
|
||||
func (s *SettingService) getStringOrDefault(settings map[string]string, key, defaultValue string) string {
|
||||
if value, ok := settings[key]; ok && value != "" {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user