mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-05-01 14:49:00 +08:00
Merge 6f38034c14927559c31c48a6420bf97bc7838bec into 005aa609829820d5fc804ff00ee0b2c3751ec5ac
This commit is contained in:
commit
8aa2a91b72
@ -8,9 +8,11 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
<n-scrollbar x-scrollable>
|
||||||
<n-tabs
|
<n-tabs
|
||||||
:value="tabStore.activeTab"
|
:value="tabStore.activeTab"
|
||||||
:closable="tabStore.tabs.length > 1"
|
:closable="tabStore.tabs.length > 1"
|
||||||
|
class="py-10"
|
||||||
:style="`--selected-bg: ${appStore.isDark ? '#1b2429' : '#eaf0f1'}`"
|
:style="`--selected-bg: ${appStore.isDark ? '#1b2429' : '#eaf0f1'}`"
|
||||||
type="card"
|
type="card"
|
||||||
@close="(path) => tabStore.removeTab(path)"
|
@close="(path) => tabStore.removeTab(path)"
|
||||||
@ -25,6 +27,7 @@
|
|||||||
{{ item.title }}
|
{{ item.title }}
|
||||||
</n-tab>
|
</n-tab>
|
||||||
</n-tabs>
|
</n-tabs>
|
||||||
|
</n-scrollbar>
|
||||||
|
|
||||||
<ContextMenu
|
<ContextMenu
|
||||||
v-if="contextMenuOption.show"
|
v-if="contextMenuOption.show"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user