可信代码库-AI助手显示软件详情页面开发
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user