From 5d44f9e23124f05b0906efd754ba7f8fac1f7cdd Mon Sep 17 00:00:00 2001 From: Ai3_刘小龙 <wisty0317@163.com> Date: 星期三, 20 十二月 2023 14:26:49 +0800 Subject: [PATCH] update src/views/system/dept/index.vue. append-to-body --- src/views/index.vue | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 7f658d8..efb8b50 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -99,13 +99,13 @@ 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"); + 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') -} +const goTarget = (url: string) => { + window.open(url, '__blank'); +}; </script> <style scoped lang="scss"> @@ -131,7 +131,7 @@ margin: 0; } - font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif; + font-family: 'open sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; color: #676a6c; overflow-x: hidden; -- Gitblit v1.9.3