From eee0af098e5acf66d729fbeb0e440e96208053f8 Mon Sep 17 00:00:00 2001
From: 消逝 <1425768167@qq.com>
Date: 星期四, 11 七月 2024 13:46:31 +0800
Subject: [PATCH] 学生退出登录
---
src/views/exam/index.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/exam/index.vue b/src/views/exam/index.vue
index 591e735..2b3ea60 100644
--- a/src/views/exam/index.vue
+++ b/src/views/exam/index.vue
@@ -177,7 +177,7 @@
const timeDialog = ref(false);
const { status, message, error, connect, disconnect, sendMessage } = useWebScoket({
- url: 'ws://192.168.3.64:8000/websocket/' + userInfo.value.id,
+ url: 'wss://42.193.1.25:8000/websocket/' + userInfo.value.id,
heartBeatData: 'ping'
});
@@ -263,7 +263,7 @@
resetAllDialog();
disconnect();
-
+
submitExam(temp).then(res => {
returnBack();
}).catch(() => {
@@ -361,4 +361,4 @@
background-color: rgba($color: #3680fa, $alpha: 0.2);
margin-bottom: 20px;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.8.0