t-button in navbar
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user