|
@@ -485,7 +485,7 @@
|
|
|
title="AI识别平面图"
|
|
|
width="1300px"
|
|
|
align-center
|
|
|
- @close="aiImgData.result = null;abort()"
|
|
|
+ @close="aiImgData.result = null;"
|
|
|
>
|
|
|
<div class="border" style=" width: 1300px;
|
|
|
height: 1px;
|
|
@@ -664,6 +664,9 @@ const handleAI = async () => {
|
|
|
try {
|
|
|
// const res = await getAiByImage({imageUrl: imageUrl})
|
|
|
chat('', item.params + item.paramContent).then(async stream => {
|
|
|
+ if(!aiImgShow.value){
|
|
|
+ abort()
|
|
|
+ }
|
|
|
for await (const part of stream) {
|
|
|
// chatHistory.value.at(idx).text += part.message.content;
|
|
|
let tep_mesg = part.message.content;
|