滚动条样式更新
This commit is contained in:
@@ -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
1
temp_avg.json
Normal file
File diff suppressed because one or more lines are too long
1
temp_new.json
Normal file
1
temp_new.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user