From 4bc27ca4c7eb5e6ceed68036b9dda7d80c69ead6 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 25 四月 2024 16:49:15 +0800 Subject: [PATCH] 测试完成 --- src/views/repositoryai/templateku/configurat/measurement.vue | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/repositoryai/templateku/configurat/measurement.vue b/src/views/repositoryai/templateku/configurat/measurement.vue index 7aa74d3..195f750 100644 --- a/src/views/repositoryai/templateku/configurat/measurement.vue +++ b/src/views/repositoryai/templateku/configurat/measurement.vue @@ -129,7 +129,7 @@ }; // 鍙戣捣ws璇锋眰 sendWebsocket( - "ws://192.168.2.8:8089/chat?userId=1", + "ws://localhost:8089/chat?userId=1", obj, this.wsMessage, this.wsError @@ -156,14 +156,14 @@ }); } // 鏄惁缁撴潫 - if (!dataJson.jsy) { - this.Answerline.push({ - value: dataJson.nowQuestion.questionText, - isEat: 1, - }); - } else { + if (dataJson.jsy) { this.Answerline.push({ value: dataJson.jsy, + isEat: 1, + }); + } else if (dataJson.nowQuestion.questionText) { + this.Answerline.push({ + value: dataJson.nowQuestion.questionText, isEat: 1, }); } @@ -195,7 +195,7 @@ console.log(obj, "鍏ュ弬"); // 鍙戣捣ws璇锋眰 sendWebsocket( - "ws://192.168.2.8:8089/chat?userId=1", + "ws://localhost:8089/chat?userId=1", obj, this.wsMessage, this.wsError @@ -235,7 +235,7 @@ } } .borderdiv { - min-height: 60vh; + height: 100vh; font-size: 20px; padding: 30px; max-height: 700px; -- Gitblit v1.9.3