|
@@ -11,7 +11,6 @@ export default {
|
|
},
|
|
},
|
|
whetherWebSocket: function() {
|
|
whetherWebSocket: function() {
|
|
var that =this
|
|
var that =this
|
|
- debugger
|
|
|
|
if ('WebSocket' in window) {
|
|
if ('WebSocket' in window) {
|
|
if (process.env.NODE_ENV === 'production') {
|
|
if (process.env.NODE_ENV === 'production') {
|
|
that.websocket = new WebSocket('wss://www.zthymaoyi.com/wss/websocket/?adminId=84f62127b7384dcdbaeaddfe460329fc' )
|
|
that.websocket = new WebSocket('wss://www.zthymaoyi.com/wss/websocket/?adminId=84f62127b7384dcdbaeaddfe460329fc' )
|