diff --git a/src/views/Community/components/UnifiedSearchBox.js b/src/views/Community/components/UnifiedSearchBox.js index 0445993c..82858a2f 100644 --- a/src/views/Community/components/UnifiedSearchBox.js +++ b/src/views/Community/components/UnifiedSearchBox.js @@ -385,7 +385,7 @@ const UnifiedSearchBox = ({ page: 1, // 搜索参数: 统一使用 q 参数进行搜索(话题/股票/关键词) - q: overrides.q ?? filters.q ?? '', + q: (overrides.q ?? filters.q) ?? '', // 行业代码: 取选中路径的最后一级(最具体的行业代码) industry_code: overrides.industry_code ?? (industryValue?.[industryValue.length - 1] || ''),