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;