From 3e5e1d3d5aedfde98b7cb8821aa42cf855619c39 Mon Sep 17 00:00:00 2001
From: 15815213711 <zhaochongyi@isu6.com>
Date: 星期一, 26 八月 2024 19:55:37 +0800
Subject: [PATCH] 初始化项目

---
 frontend/src/views/communication/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/frontend/src/views/communication/index.vue b/frontend/src/views/communication/index.vue
index 1652a8c..49e646f 100644
--- a/frontend/src/views/communication/index.vue
+++ b/frontend/src/views/communication/index.vue
@@ -33,7 +33,7 @@
    * 杩炴帴璁惧
    */
   const setLocalICRF = () => {
-    ipc.invoke('controller.icrf.hc_init',{port:com.value,baud:serialBaud.value}).then(res=>{
+    ipc.invoke('controller.icrf.connectSerialPort',{port:com.value,baud:serialBaud.value}).then(res=>{
       console.log(res)
     });
   }

--
Gitblit v1.8.0