完善测试建表并统一前端格式
This commit is contained in:
@@ -258,10 +258,8 @@ const hasChatPermission = computed(() => adminSession.hasPermission('chat:view')
|
||||
const hasNotificationPermission = computed(
|
||||
() => adminSession.isSuperAdmin || adminSession.hasPermission('notification:view')
|
||||
)
|
||||
const {
|
||||
unreadCount: adminNotificationUnreadCount,
|
||||
unreadLabel: adminNotificationUnreadLabel,
|
||||
} = useAdminNotificationUnreadCount(route)
|
||||
const { unreadCount: adminNotificationUnreadCount, unreadLabel: adminNotificationUnreadLabel } =
|
||||
useAdminNotificationUnreadCount(route)
|
||||
|
||||
const statusLabels: Record<string, string> = {
|
||||
online: '在线',
|
||||
|
||||
@@ -136,7 +136,9 @@ async function handleSupportClick() {
|
||||
<RouterLink v-for="item in navItems" :key="item.to" class="pc-nav-link" :to="item.to">
|
||||
<el-icon><component :is="item.icon" /></el-icon>
|
||||
<span>{{ item.label }}</span>
|
||||
<em v-if="item.to === '/messages' && unreadCount > 0" class="pc-nav-badge">{{ unreadLabel }}</em>
|
||||
<em v-if="item.to === '/messages' && unreadCount > 0" class="pc-nav-badge">{{
|
||||
unreadLabel
|
||||
}}</em>
|
||||
</RouterLink>
|
||||
</nav>
|
||||
|
||||
@@ -320,7 +322,8 @@ async function handleSupportClick() {
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="pc-footer-icp"
|
||||
>湘ICP备2025146668号</a>
|
||||
>湘ICP备2025146668号</a
|
||||
>
|
||||
<span class="pc-footer-divider">|</span>
|
||||
<span class="pc-footer-copyright">版权所有 ©2026 大锤网络游戏有限公司</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user