t-button in navbar

This commit is contained in:
Timi
2026-10-22 17:58:35 +08:00
parent 6efc6f02d6
commit a69f2e17fa
53 changed files with 320 additions and 307 deletions
+6 -6
View File
@@ -8,14 +8,14 @@
@left-click="$router.back()"
>
<template #right>
<button
<t-button
v-if="canReadNotify && 0 < unreadCount"
class="nav-action"
type="button"
@click="markAllRead"
>
全部已读
</button>
theme="primary"
variant="text"
size="small"
content="全部已读"
/>
</template>
</t-navbar>
<main v-can="corePermissionCodes.notify.read" class="page-content scroll list">