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"> - -