why did it send undefined, who sent undefined
This commit is contained in:
parent
23b6ab5728
commit
fde44f5b49
@ -73,12 +73,13 @@ const loading = computed(() => status.value === 'CONNECTING' || status.value ===
|
||||
|
||||
function clickPlay() {
|
||||
open();
|
||||
send('hi');
|
||||
send('{"action":"ping"}');
|
||||
}
|
||||
|
||||
function action(evt: Action) {
|
||||
console.log('send action', evt);
|
||||
send(JSON.stringify(action));
|
||||
const s = JSON.stringify(action);
|
||||
console.log('send action', evt, s);
|
||||
send(s);
|
||||
}
|
||||
|
||||
const loadingMe = ref(true);
|
||||
|
Loading…
Reference in New Issue
Block a user