提交 8b18bdd0 authored 作者: thy's avatar thy

125Excel

上级 beb1f7d0
...@@ -5080,6 +5080,7 @@ ws.onopen = function() { ...@@ -5080,6 +5080,7 @@ ws.onopen = function() {
ws.onmessage = function (e) { ws.onmessage = function (e) {
//1成功 2失败 //1成功 2失败
console.log('链接成功'); console.log('链接成功');
console.log("websocket!!!",e)
if(JSON.parse(e.data).msg != ""){ if(JSON.parse(e.data).msg != ""){
// this.myloadingText = JSON.parse(e.data) // this.myloadingText = JSON.parse(e.data)
// var str = document.querySelector(".myloading2 .el-loading-text") // var str = document.querySelector(".myloading2 .el-loading-text")
......
...@@ -10,8 +10,8 @@ import axios from '@/services/axios'; ...@@ -10,8 +10,8 @@ import axios from '@/services/axios';
* dataType * dataType
*/ */
import qs from 'qs'; import qs from 'qs';
// const assessma = 'http://120.55.57.35:8078' const assessma = 'http://120.55.57.35:8078'
const assessma = 'http://192.168.1.85:8078' // const assessma = 'http://192.168.1.85:8078'
const server = { const server = {
getloginOut(id) { // 用户退出 getloginOut(id) { // 用户退出
return axios('/user/loginOut/' + id, { return axios('/user/loginOut/' + id, {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论