From 152a6335d831f8566d773b3811f850ee903b82c9 Mon Sep 17 00:00:00 2001 From: ArvinLovegood Date: Fri, 13 Jun 2025 17:00:04 +0800 Subject: [PATCH] =?UTF-8?q?feat(frontend):=E6=B7=BB=E5=8A=A0=E4=B8=AA?= =?UTF-8?q?=E8=82=A1=E7=A0=94=E6=8A=A5=E5=88=B0=E5=BC=B9=E5=87=BA=E8=8F=9C?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在市场标签列表中新增了个股研报标签 - 设置了个股研报的路由和点击事件处理 - 使用了 RouterLink 组件实现导航 --- frontend/src/App.vue | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index c0ca9c4..61b501f 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -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), + }, ] }, {