From 6e42ae6d4cd07c4740b89221cd2e83e18d925242 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 24 十一月 2023 13:19:44 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/shuttle2.html |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/views/shuttle2.html b/src/main/webapp/views/shuttle2.html
index c1cdc91..9035042 100644
--- a/src/main/webapp/views/shuttle2.html
+++ b/src/main/webapp/views/shuttle2.html
@@ -347,7 +347,10 @@
 
     // 鍥涘悜绌挎杞︿俊鎭〃鑾峰彇 ---- 琛ㄤ竴
     function getShuttleStateInfo() {
-        sendWs("{\"url\":\"/shuttle/table/shuttle/state\",\"data\":{}}")
+        sendWs(JSON.stringify({
+            "url": "/shuttle/table/shuttle/state",
+            "data": {}
+        }))
     }
 
     // 鍥涘悜绌挎杞︿俊鎭〃璁剧疆 ---- 琛ㄤ竴
@@ -426,7 +429,10 @@
 
     // 绌挎杞︽棩蹇楄緭鍑� -----------------------------------------------------------------------
     function getShuttleOutput() {
-        sendWs("{\"url\":\"/shuttle/output/shuttle\",\"data\":{}}")
+        sendWs(JSON.stringify({
+            "url": "/shuttle/output/shuttle",
+            "data": {}
+        }))
     }
 
     function setShuttleOutput(res) {

--
Gitblit v1.9.1