save
This commit is contained in:
parent
7b0e992c98
commit
303e1166a8
|
@ -26,7 +26,7 @@ export default defineComponent(() => {
|
||||||
'w-full bg-white/20 text-center rounded text-[14px] overflow-hidden text-ellipsis whitespace-nowrap'
|
'w-full bg-white/20 text-center rounded text-[14px] overflow-hidden text-ellipsis whitespace-nowrap'
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{store.state.list ? store.state.list.filter((val) => !val.isCompleted).pop()?.title : '无目标'}
|
{store.state.list.length !== 0 ? store.state.list.filter((val) => !val.isCompleted).pop()?.title : '无目标'}
|
||||||
</div>
|
</div>
|
||||||
<span class={'text-[42px] mb-1'}>
|
<span class={'text-[42px] mb-1'}>
|
||||||
{store.state.beginTime < 0 ? '15:00' : formatSeconds(store.remainingTime)}
|
{store.state.beginTime < 0 ? '15:00' : formatSeconds(store.remainingTime)}
|
||||||
|
|
Loading…
Reference in New Issue