mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
perf: 左侧菜单折叠后的tooltip主题与整体菜单保持统一
This commit is contained in:
@@ -19,5 +19,5 @@ const props = defineProps({
|
||||
:noticeItem="item"
|
||||
/>
|
||||
</div>
|
||||
<el-empty description="暂无消息" />
|
||||
<el-empty v-else description="暂无消息" />
|
||||
</template>
|
||||
|
||||
@@ -18,7 +18,14 @@ const showLogo = ref(
|
||||
)?.showLogo ?? true
|
||||
);
|
||||
|
||||
const { device, pureApp, isCollapse, menuSelect, toggleSideBar } = useNav();
|
||||
const {
|
||||
device,
|
||||
pureApp,
|
||||
isCollapse,
|
||||
tooltipEffect,
|
||||
menuSelect,
|
||||
toggleSideBar
|
||||
} = useNav();
|
||||
|
||||
const subMenuData = ref([]);
|
||||
|
||||
@@ -91,6 +98,7 @@ onBeforeUnmount(() => {
|
||||
router
|
||||
unique-opened
|
||||
mode="vertical"
|
||||
:popper-effect="tooltipEffect"
|
||||
class="outer-most select-none"
|
||||
:collapse="isCollapse"
|
||||
:default-active="defaultActive"
|
||||
|
||||
Reference in New Issue
Block a user