滚动条样式更新

This commit is contained in:
2025-12-24 17:03:33 +08:00
parent a4462ba3e6
commit bf58e97e84
3 changed files with 9 additions and 1 deletions

View File

@@ -246,7 +246,9 @@ const CompactSearchBox = ({
: importanceValue.join(',');
}
// 先展开 overrides再用处理后的值覆盖避免 overrides.sort 覆盖 actualSort
const result = {
...overrides,
sort: actualSort,
importance: importanceValue,
q: (overrides.q ?? filters.q) ?? '',
@@ -254,14 +256,18 @@ const CompactSearchBox = ({
start_date: overrides.start_date ?? (tradingTimeRange?.start_date || ''),
end_date: overrides.end_date ?? (tradingTimeRange?.end_date || ''),
recent_days: overrides.recent_days ?? (tradingTimeRange?.recent_days || ''),
...overrides,
page: 1,
};
// 移除不需要的字段
delete result.per_page;
// 添加 return_type 参数(用于收益排序)
if (returnType) {
result.return_type = returnType;
} else {
// 确保非收益排序时不带 return_type
delete result.return_type;
}
if (mode !== undefined && mode !== null) {

1
temp_avg.json Normal file

File diff suppressed because one or more lines are too long

1
temp_new.json Normal file

File diff suppressed because one or more lines are too long