to wayt bindig of parent and child

This commit is contained in:
ori agranat
2019-03-26 21:05:01 +02:00
parent 8dee0e1ba7
commit ae5c927d1f
6 changed files with 28 additions and 18 deletions

View File

@@ -9,7 +9,7 @@ import locale from 'iview/dist/locale/en-US';
Vue.use(VueRouter);
Vue.use(iView , { locale });
Vue.use(VueNativeSock,'ws://'+location.hostname+':8888/websocket');
Vue.use(VueNativeSock,'ws://'+location.hostname+':8888/websocket',{format:'JSON'});
Vue.config.productionTip = false
new Vue({