From d40a2540964ed912c41595c5a77f6f400ffd1d11 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 15 Aug 2023 18:44:00 +0800 Subject: [PATCH] fix --- src/layouts/header/index.vue | 2 +- src/pages/achievement/info/course.vue | 12 ++--- src/pages/achievement/info/project.vue | 6 +-- src/pages/match/add/index.vue | 3 +- src/pages/match/add/set.vue | 1 + src/pages/match/manage/matchArch.vue | 66 ++++++++++++++++++-------- src/pages/product/list/index.vue | 2 +- src/pages/product/show/index.vue | 6 ++- src/pages/screen/index.vue | 61 ++++++++++++------------ src/pages/station/preview/index.vue | 11 +++-- src/setting.js | 2 +- 11 files changed, 104 insertions(+), 68 deletions(-) diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 6200152..0c47853 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -153,7 +153,7 @@ export default { }, initSocket ({ id, account }) { // 实例化socket - this.socket = new WebSocket(`${Setting.isTest ? 'ws' : 'wss'}://${Setting.isDev ? '192.168.31.51' : location.host}/nakadai/websocket/${id}/${account}`) + this.socket = new WebSocket(`${Setting.isTest ? 'ws' : 'wss'}://${Setting.isDev ? '192.168.31.51:9100' : location.host}/nakadai/websocket/${id}/${account}`) // this.socket = new WebSocket(`ws://121.37.12.51:9100/nakadai/websocket/${id}/${account}`) // 监听socket连接 this.socket.onopen = this.open; diff --git a/src/pages/achievement/info/course.vue b/src/pages/achievement/info/course.vue index e6d28d0..7037925 100644 --- a/src/pages/achievement/info/course.vue +++ b/src/pages/achievement/info/course.vue @@ -30,11 +30,11 @@
实验最高分
-{{ maxScore }}
+{{ maxScore || 0 }}
实验最低分
-{{ minScore }}
+{{ minScore || 0 }}