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> </style>