From 15e15ae5d28fcd2b75a7c6387aa6705433450fa9 Mon Sep 17 00:00:00 2001 From: Pengxiansen <2422914688@qq.com> Date: Sun, 16 Feb 2025 23:22:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/growth/index.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/growth/index.vue b/src/views/growth/index.vue index 67de8ea4..4d8685d7 100644 --- a/src/views/growth/index.vue +++ b/src/views/growth/index.vue @@ -118,11 +118,11 @@
-
+
{{ item.growthName }}
@@ -137,7 +137,6 @@ import { listData, getTotalGrowthTaskDetail } from "@/api/growth/growthpath"; export default { data() { return { - selectData: {}, list: [], loading: false, totalData: {}, @@ -194,7 +193,7 @@ export default { "/forward?to=" + studentPath + "/growthList¶ms=" + params ); }, - HandlerItemGroupName(item, index) { + handlerAnchor(item, index) { this.activeItem = item; let a = document.createElement("a"); a.href = `#${item.id}`; @@ -208,6 +207,7 @@ export default { created() { this.loading = true; listData().then((res) => { + this.activeItem = res.data[0]; this.list = res.data; this.loading = false; }); @@ -345,6 +345,7 @@ export default { font-size: 14px; color: #666666; padding: 10px 20px 10px 8px; + cursor: pointer; } .icon { width: 4px;