tangning hace 5 días
padre
commit
bd1f6f4710
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/view/case/records/index.vue

+ 1 - 1
src/view/case/records/index.vue

@@ -856,11 +856,11 @@ const initSSE = (url) => {
     console.log('message连接成功', data);
     if(data && data.text){
       aiImgData.value.result += data.text
+      aiImgData.value.loading = false
     }
     if(outputs && outputs.text){
       aiImgData.value.result = outputs.text
     }
-    aiImgData.value.loading = false
   });
 
   // // 监听自定义事件(服务器指定 event: customEvent)