mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-25 01:41:40 +00:00
key value fix in websocket
This commit is contained in:
@@ -13,7 +13,7 @@ Vue.prototype.$msgPack = msgPack;
|
||||
Vue.mixin({
|
||||
methods:{
|
||||
handleInput(key,value){
|
||||
let msg = this.$msgPack().encode({key,value})
|
||||
let msg = this.$msgPack().encode({[key]:value})
|
||||
this.$socket.send(msg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user