We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8537a78 commit f23eb0dCopy full SHA for f23eb0d
admin/src/views/api_excel/index.vue
@@ -221,7 +221,7 @@ export default {
221
},
222
initWebSocket() { // 初始化 weosocket
223
if ('WebSocket' in window) {
224
- // const url = 'wss://www.guke1.com/ws?id=' + id
+ // const url = 'wss://www.guke1.com/ws?action=api_excel&token=' + getToken()
225
const url = 'ws://localhost:5200?action=api_excel&token=' + getToken()
226
this.websock = new WebSocket(url)
227
this.websock.onmessage = this.onmessage
0 commit comments