|
@@ -177,7 +177,7 @@ export default {
|
|
|
this.getDataList()
|
|
|
},
|
|
|
rwsHasAuth(v){
|
|
|
- console.log('rws auth',v)
|
|
|
+ // console.log('rws auth',v)
|
|
|
if (v) this.getDataList();
|
|
|
},
|
|
|
},
|
|
@@ -278,7 +278,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
onWsOpen(){
|
|
|
- console.log('on ws open');
|
|
|
+ // console.log('on ws open');
|
|
|
let params = {
|
|
|
type:'auth',
|
|
|
token: getToken(),
|
|
@@ -303,11 +303,11 @@ export default {
|
|
|
},
|
|
|
onWsError(event){
|
|
|
this.rwsHasAuth = false;
|
|
|
- console.log('on ws error',event);
|
|
|
+ // console.log('on ws error',event);
|
|
|
},
|
|
|
onWsClose(event){
|
|
|
this.rwsHasAuth = false;
|
|
|
- console.log('on ws close',event);
|
|
|
+ // console.log('on ws close',event);
|
|
|
},
|
|
|
initRws(){
|
|
|
if (this.rws){
|