添加socket的userId
This commit is contained in:
@ -97,8 +97,7 @@ import { send } from '@/api/service';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
path:
|
||||
'ws://192.168.0.125:1919/webStock/' + localStorage.getItem('userId'),
|
||||
path: 'ws://192.168.0.125:1919/webStock/' + this.$store.state.user.userId,
|
||||
socket: '',
|
||||
userid: '23941',
|
||||
// 待发送信息
|
||||
|
Reference in New Issue
Block a user