🎨 暂时取消 websocket 功能
This commit is contained in:
parent
2619e151a5
commit
39c05e353a
@ -107,7 +107,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import {mapState} from 'vuex';
|
import {mapState} from 'vuex';
|
||||||
import {isBrowser} from '~/environment';
|
import {isBrowser} from '~/environment';
|
||||||
import sockClient from '~/plugins/sockjs';
|
// import sockClient from '~/plugins/sockjs';
|
||||||
|
|
||||||
const Cookie = process.client ? require('js-cookie') : undefined
|
const Cookie = process.client ? require('js-cookie') : undefined
|
||||||
export default {
|
export default {
|
||||||
@ -283,7 +283,7 @@ export default {
|
|||||||
let user = this.user;
|
let user = this.user;
|
||||||
if (user) {
|
if (user) {
|
||||||
this.getUnreadNotifications();
|
this.getUnreadNotifications();
|
||||||
sockClient.initSocket(this.$store.state.userInfo);
|
// sockClient.initSocket(this.$store.state.userInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user