|
@@ -219,7 +219,11 @@ const answer_html = computed(() => {
|
|
|
return answer_string;
|
|
return answer_string;
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
-
|
|
|
|
|
|
|
+const answer_md = computed(() => {
|
|
|
|
|
+ const answer = props.answer;
|
|
|
|
|
+ const str = answer.content;
|
|
|
|
|
+ return str;
|
|
|
|
|
+});
|
|
|
/**
|
|
/**
|
|
|
* 判断是否是联网搜索,
|
|
* 判断是否是联网搜索,
|
|
|
* */
|
|
* */
|
|
@@ -327,7 +331,7 @@ const handleStopChat = () => {
|
|
|
* copy
|
|
* copy
|
|
|
*/
|
|
*/
|
|
|
const handleAnswerCopy = () => {
|
|
const handleAnswerCopy = () => {
|
|
|
- copyText(answer_html.value);
|
|
|
|
|
|
|
+ copyText(answer_md.value);
|
|
|
Message.success('已复制');
|
|
Message.success('已复制');
|
|
|
};
|
|
};
|
|
|
|
|
|