上线登录
This commit is contained in:
1 parent
a577fa4133
commit
bc360d868e
4 files changed
+15
-9
No files matched your search
@@ -68,9 +68,11 @@
|
||||
</n-tab-pane>
|
||||
<template #suffix>
|
||||
<n-flex align="center" class="suffix">
|
||||
<!-- <span>{{ username }}</span>
|
||||
<n-button v-if="!authed" @click="handleLogin">登录</n-button>
|
||||
<n-button v-else @click="handleLogout">退出</n-button> -->
|
||||
<span>{{ username }}</span>
|
||||
<n-button v-if="!authed" @click="handleLogin" secondary type="primary">
|
||||
登录
|
||||
</n-button>
|
||||
<n-button v-else @click="handleLogout">退出</n-button>
|
||||
</n-flex>
|
||||
</template>
|
||||
</n-tabs>
|
||||
|
||||
Reference in new issue
Block a user