mirror of
https://gitee.com/yiming_chang/vue-pure-admin.git
synced 2024-11-30 02:07:38 +08:00
perf: 左侧菜单折叠后的tooltip
主题与整体菜单保持统一
This commit is contained in:
parent
f17eda34b4
commit
76cbbad940
@ -155,7 +155,7 @@
|
||||
"vite": "^5.0.10",
|
||||
"vite-plugin-cdn-import": "^0.3.5",
|
||||
"vite-plugin-compression": "^0.5.1",
|
||||
"vite-plugin-fake-server": "^2.0.1",
|
||||
"vite-plugin-fake-server": "2.0.0",
|
||||
"vite-plugin-remove-console": "^2.2.0",
|
||||
"vite-plugin-router-warn": "^1.0.0",
|
||||
"vite-svg-loader": "^5.1.0",
|
||||
|
@ -323,8 +323,8 @@ devDependencies:
|
||||
specifier: ^0.5.1
|
||||
version: 0.5.1(vite@5.0.10)
|
||||
vite-plugin-fake-server:
|
||||
specifier: ^2.0.1
|
||||
version: 2.0.1
|
||||
specifier: 2.0.0
|
||||
version: 2.0.0
|
||||
vite-plugin-remove-console:
|
||||
specifier: ^2.2.0
|
||||
version: 2.2.0
|
||||
@ -8672,8 +8672,8 @@ packages:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/vite-plugin-fake-server@2.0.1:
|
||||
resolution: {integrity: sha512-uQgOPHtMIrgVdpuJa2zQ+v6bMlSqczhlb4xfTE+K0lDfKTeJ+Z795HXYv2BItNPFYJ5E5wOlZ8MLDzjudK+22A==}
|
||||
/vite-plugin-fake-server@2.0.0:
|
||||
resolution: {integrity: sha512-RCKS7te5lNzJFEQqPEaMqthwJhYaYMUMAPj7no4tmirqf5YEd6b4t7JMSGTkP2HPSplPE/uDQ56k9XjNreq2CQ==}
|
||||
dependencies:
|
||||
bundle-import: 0.0.1
|
||||
chokidar: 3.5.3
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user