fix: benchmark tooltip

This commit is contained in:
jialin
2026-02-06 18:34:20 +08:00
parent 4132494a49
commit 4a582ec8b1
9 changed files with 51 additions and 32 deletions
@@ -31,8 +31,9 @@ export default function useQueryProfiles() {
const list =
res?.profiles?.map((item) => {
const label = profileMap.get(item.name)?.label;
return {
label: profileMap.get(item.name)?.label || item.name,
label: label ? intl.formatMessage({ id: label }) : item.name,
tips: profileMap.get(item.name)?.tips || '',
value: item.name,
config: {