fix(ValueChain): 修复相关公司链接跳转错误问题
- 修复参数名:stock_code → scode(与公司页面参数一致) - 修复跳转方式:window.location.href → window.open 新开标签页 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -246,7 +246,7 @@ const RelatedCompaniesModal: React.FC<RelatedCompaniesModalProps> = ({
|
||||
variant="ghost"
|
||||
colorScheme="blue"
|
||||
onClick={() => {
|
||||
window.location.href = `/company?stock_code=${company.stock_code}`;
|
||||
window.open(`/company?scode=${company.stock_code}`, '_blank');
|
||||
}}
|
||||
aria-label="查看公司详情"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user