add countdown.

This commit is contained in:
2023-03-03 12:46:58 +08:00
parent b07489723c
commit 18a20c04c5
10 changed files with 414 additions and 368 deletions

View File

@@ -98,7 +98,7 @@ function run() {
:options="options"
trigger="click"
>
<n-button>{{ userStore.user.username }}</n-button>
<n-button>{{ userStore.user!.username }}</n-button>
</n-dropdown>
<n-space v-else>
<n-button @click="toggleLogin(true)">登录</n-button>
@@ -118,7 +118,7 @@ function run() {
运行
</n-button>
<n-dropdown v-if="userStore.isAuthed" :options="options" trigger="click">
<n-button>{{ userStore.user.username }}</n-button>
<n-button>{{ userStore.user!.username }}</n-button>
</n-dropdown>
<n-space v-else>
<n-button @click="toggleLogin(true)">登录</n-button>