debug time left
This commit is contained in:
parent
e588382794
commit
a318c5457f
@ -88,6 +88,7 @@ const timestamp = useTimestamp({
|
||||
});
|
||||
watch(props.game, (now) => {
|
||||
initTimeLeft.value = now.deadline - timestamp.value;
|
||||
console.log(initTimeLeft, now.deadline, timestamp.value);
|
||||
});
|
||||
const moveColor = computed(() => timeLeft.value > 3000 ? 'primary' : 'red');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user