diff --git a/backend/services/browser_service.go b/backend/services/browser_service.go index e83f8e4..26be709 100644 --- a/backend/services/browser_service.go +++ b/backend/services/browser_service.go @@ -896,7 +896,7 @@ func (b *browserService) GetKeyDetail(param types.KeyDetailParam) (resp types.JS items = make([]types.ZSetEntryItem, 0, len(loadedVal)) for _, z := range loadedVal { - val := strutil.AnyToString(z.Score, "", 0) + val := strutil.AnyToString(z.Member, "", 0) if doFilter && !strings.Contains(val, param.MatchPattern) { continue } diff --git a/frontend/src/stores/tab.js b/frontend/src/stores/tab.js index 37cdeb5..1966216 100644 --- a/frontend/src/stores/tab.js +++ b/frontend/src/stores/tab.js @@ -235,7 +235,7 @@ const useTabStore = defineStore('tab', { tabData.value = assign(value, tabData.value || {}) } } else { - tabData.value = value + tabData.value = value || [] } },