yangyin
2024-11-20 bc751a2672c7c16b441b83b56e1a0b24703c3c0e
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,
   () => {