From bc751a2672c7c16b441b83b56e1a0b24703c3c0e Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期三, 20 十一月 2024 14:07:38 +0800 Subject: [PATCH] 提交注释 --- src/views/project/ch/home/component/waterRight/bottom.vue | 14 +------------- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/src/views/project/ch/home/component/waterRight/bottom.vue b/src/views/project/ch/home/component/waterRight/bottom.vue index 14b40ad..293220e 100644 --- a/src/views/project/ch/home/component/waterRight/bottom.vue +++ b/src/views/project/ch/home/component/waterRight/bottom.vue @@ -49,8 +49,6 @@ <script setup lang="ts"> import { computed, reactive, ref, watch } from 'vue'; -import { getSectionList } from '/@/api/ai/chat'; -import router from '/@/router'; import { activeGroupType, sceneGroupList, sectionAList, topGroupId } from '/@/stores/chatRoom'; let state = reactive({ applicationScenarios: [], @@ -97,8 +95,7 @@ const iconCount = iconList.value.length; return iconList.value[index % iconCount]; }; -const getMainSectionList = async () => { - const res = await getSectionList(); +const getMainSectionList = () => { let result = []; sceneGroupList.value.forEach((sectionItem, index) => { sectionItem.Icon = getIconByIndex(index); @@ -119,15 +116,6 @@ return groups; }); -// 鏌ョ湅鏇村 -const lookMore = () => { - router.push({ - name: 'Scenario', - query: { - ID: topGroupId.value, - }, - }); -}; watch( () => activeGroupType.value, () => { -- Gitblit v1.9.3