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() {
|
function clickPlay() {
|
||||||
open();
|
open();
|
||||||
send('hi');
|
send('{"action":"ping"}');
|
||||||
}
|
}
|
||||||
|
|
||||||
function action(evt: Action) {
|
function action(evt: Action) {
|
||||||
console.log('send action', evt);
|
const s = JSON.stringify(action);
|
||||||
send(JSON.stringify(action));
|
console.log('send action', evt, s);
|
||||||
|
send(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
const loadingMe = ref(true);
|
const loadingMe = ref(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user