From 71bc842ecdc2a761846f793404475ff1e0e15ccf Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 19 Jul 2023 16:30:36 +0800 Subject: [PATCH] fix --- src/layouts/header/index.vue | 2 +- src/pages/achievement/show/index.vue | 10 ++--- src/pages/assessment/list/index.vue | 65 +++++++++++++++++++--------- src/pages/project/add/index.vue | 2 +- src/pages/project/list/index.vue | 4 +- src/pages/station/preview/index.vue | 50 ++++++++------------- 6 files changed, 72 insertions(+), 61 deletions(-) diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index e2a0c61..6200152 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(`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' : 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/show/index.vue b/src/pages/achievement/show/index.vue index 9bbb27e..fc76b60 100644 --- a/src/pages/achievement/show/index.vue +++ b/src/pages/achievement/show/index.vue @@ -55,8 +55,8 @@
  • - {{ infoData.workNumber }} + v-model="infoData.className"> + {{ infoData.className }}
  • @@ -146,8 +146,7 @@ v-html="scope.row.referenceAnswer"> - -