mirror of
https://github.com/ArvinLovegood/go-stock.git
synced 2025-07-19 00:00:09 +08:00
feat(frontend):添加个股研报到弹出菜单
- 在市场标签列表中新增了个股研报标签 - 设置了个股研报的路由和点击事件处理 - 使用了 RouterLink 组件实现导航
This commit is contained in:
parent
338e371190
commit
152a6335d8
@ -240,6 +240,27 @@ const menuOptions = ref([
|
||||
key: 'market6',
|
||||
icon: renderIcon(Skull),
|
||||
},
|
||||
{
|
||||
label: () =>
|
||||
h(
|
||||
RouterLink,
|
||||
{
|
||||
href: '#',
|
||||
to: {
|
||||
name: 'market',
|
||||
query: {
|
||||
name: "个股研报",
|
||||
}
|
||||
},
|
||||
onClick: () => {
|
||||
EventsEmit("changeMarketTab", {ID: 0, name: '个股研报'})
|
||||
},
|
||||
},
|
||||
{default: () => '个股研报',}
|
||||
),
|
||||
key: 'market7',
|
||||
icon: renderIcon(NewspaperSharp),
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user