From f367b49dd61f20191de9b0ac24cbd4fa0df1fc93 Mon Sep 17 00:00:00 2001 From: LiuHao <liuhaoai545@gmail.com> Date: 星期日, 19 五月 2024 17:31:05 +0800 Subject: [PATCH] update 优化代码格式 --- src/views/index.vue | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 57c5373..8dce3f0 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -21,7 +21,7 @@ * 鍒嗗竷寮忛攣 Lock4j 娉ㄨВ閿併�佸伐鍏烽攣 澶氱澶氭牱<br /> * 鍒嗗竷寮忓箓绛� Lock4j 鍩轰簬鍒嗗竷寮忛攣瀹炵幇<br /> * 鍒嗗竷寮忛摼璺拷韪� SkyWalking 鏀寔閾捐矾杩借釜銆佺綉鏍煎垎鏋愩�佸害閲忚仛鍚堛�佸彲瑙嗗寲<br /> - * 鍒嗗竷寮忎换鍔¤皟搴� PowerJob 楂樻�ц兘 楂樺彲闈� 鏄撴墿灞�<br /> + * 鍒嗗竷寮忎换鍔¤皟搴� SnailJob 楂樻�ц兘 楂樺彲闈� 鏄撴墿灞�<br /> * 鏂囦欢瀛樺偍 Minio 鏈湴瀛樺偍<br /> * 鏂囦欢瀛樺偍 涓冪墰銆侀樋閲屻�佽吘璁� 浜戝瓨鍌�<br /> * 鐩戞帶妗嗘灦 SpringBoot-Admin 鍏ㄦ柟浣嶆湇鍔$洃鎺�<br /> @@ -96,13 +96,6 @@ </template> <script setup name="Index" lang="ts"> -import { initWebSocket } from '@/utils/websocket'; - -onMounted(() => { - let protocol = window.location.protocol === 'https:' ? 'wss://' : 'ws://'; - initWebSocket(protocol + window.location.host + import.meta.env.VITE_APP_BASE_API + '/resource/websocket'); -}); - const goTarget = (url: string) => { window.open(url, '__blank'); }; -- Gitblit v1.9.3