fix(lint): format setting service
This commit is contained in:
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user