1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-05-01 06:39:01 +08:00

Merge 6f38034c14927559c31c48a6420bf97bc7838bec into 4f637d76e651280d15f6d7c1ac8689dd41b11f80

This commit is contained in:
qiaofugui 2024-05-06 08:57:06 +08:00 committed by GitHub
commit 693c4542ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,9 +8,11 @@
<template>
<div>
<n-scrollbar x-scrollable>
<n-tabs
:value="tabStore.activeTab"
:closable="tabStore.tabs.length > 1"
class="py-10"
:style="`--selected-bg: ${appStore.isDark ? '#1b2429' : '#eaf0f1'}`"
type="card"
@close="(path) => tabStore.removeTab(path)"
@ -25,6 +27,7 @@
{{ item.title }}
</n-tab>
</n-tabs>
</n-scrollbar>
<ContextMenu
v-if="contextMenuOption.show"