可信代码库-AI助手显示软件详情页面开发

This commit is contained in:
付民康
2025-05-09 14:13:08 +08:00
parent 95bac2fe24
commit e9a10f9bfc
20 changed files with 4096 additions and 9755 deletions

View File

@@ -18,7 +18,10 @@
</div>
<!--开源软件列表-->
<OssList v-if="msg.type===1"/>
<!--预警列表-->
<WarningList v-else-if="msg.type===2"/>
<!--软件详情-->
<OssDetail v-else-if="msg.type===3"/>
<div class="conversation-cnxw">
<a class="flex conversation-cnxw-item">
@@ -136,6 +139,7 @@ import SwiperComponent from './SwiperComponent.vue';
import GuessYouWantToAsk from './GuessYouWantToAsk.vue';
import OssList from './components/OssList.vue';
import WarningList from './components/WarningList.vue';
import OssDetail from './components/OssDetail.vue';
const inputValue = ref('');
const startChat = ref(false);
@@ -195,7 +199,7 @@ const onSubmit = (e, answer = undefined) => {
});
});
// getAIAnswer(answer ?? e);
getAIAnswer(mockAnswer,2);
getAIAnswer(mockAnswer,3);
};
const getAIAnswer = (content,type) => {