log received datas
This commit is contained in:
parent
653fd061d0
commit
167b6460f4
@ -41,6 +41,7 @@ const { status, data, send, open } = useWebSocket<string>(`wss://${window.locati
|
|||||||
const game = ref<Game | null>(null);
|
const game = ref<Game | null>(null);
|
||||||
const dealer = ref<boolean | null>(null);
|
const dealer = ref<boolean | null>(null);
|
||||||
watchEffect(() => {
|
watchEffect(() => {
|
||||||
|
console.log('data', data.value);
|
||||||
if (data.value == null) {
|
if (data.value == null) {
|
||||||
game.value = null;
|
game.value = null;
|
||||||
dealer.value = null;
|
dealer.value = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user