mirror of
https://github.com/MetinSeylan/Vue-Socket.io.git
synced 2025-04-16 15:21:28 +02:00
Don't wrap store data in array
This commit is contained in:
parent
8951667903
commit
22049133d5
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ export default class{
|
||||||
|
|
||||||
Emitter.emit(packet.data[0], packet.data[1]);
|
Emitter.emit(packet.data[0], packet.data[1]);
|
||||||
|
|
||||||
if(this.store) this.passToStore('SOCKET_'+packet.data[0], [ ...packet.data.slice(1)])
|
if(this.store) this.passToStore('SOCKET_'+packet.data[0], ...packet.data.slice(1))
|
||||||
};
|
};
|
||||||
|
|
||||||
let _this = this;
|
let _this = this;
|
||||||
|
|
Loading…
Add table
Reference in a new issue