Browse Source

修改人机对话

plg 11 months ago
parent
commit
dec0583b3d
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/renderer/components/Smart1.vue

+ 0 - 4
src/renderer/components/Smart1.vue

@@ -791,13 +791,11 @@ export default {
         for (let i = 0; i < this.chatContents.length; i++) {
           if (this.chatContents[i].from == 1) {
             console.log(this.chatContents[i].hasOwnProperty("isHistory"));
-            debugger;
             if (!this.chatContents[i].hasOwnProperty("isHistory")) {
               list.push(this.chatContents[i].question);
             }
           } else {
             if (!this.chatContents[i].hasOwnProperty("isHistory")) {
-              debugger;
               list.push(this.chatContents[i].answer);
             }
           }
@@ -805,14 +803,12 @@ export default {
       } else {
         for (let i = 5; i > 0; i--) {
           if (this.chatContents[this.chatContents.length - i].from == 1) {
-            debugger;
             if (
               !this.chatContents[this.chatContents.length - i].hasOwnProperty("isHistory")
             ) {
               list.push(this.chatContents[this.chatContents.length - i].question);
             }
           } else {
-            debugger;
             if (
               !this.chatContents[this.chatContents.length - i].hasOwnProperty("isHistory")
             ) {