From 1e7aca42fd5d584a063571a03c307a809dc07fa2 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Fri, 12 Aug 2022 16:34:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=9B=BE=E6=A0=87=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/components/header.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue index 3f5d18db..a873233b 100644 --- a/front/src/views/home/components/header.vue +++ b/front/src/views/home/components/header.vue @@ -6,7 +6,7 @@ props.showView === 'algorithm-details' ? 'blue' : '', ]" > -
+
@@ -178,6 +178,12 @@ } } } + // 返回首页 + const goToHome = () => { + router.push({ + path: '/home', + }) + } // 跳转页面 const jumpPage = (item) => { // console.log(item) @@ -355,6 +361,7 @@ font-size: 0.16rem; } .name { + cursor: pointer; font-size: 0.22rem; font-family: header-typeface; margin-right: 0.2rem;