mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-25 17:34:32 +08:00
refactor(菜单管理): 移除无用id属性并简化样式定义
This commit is contained in:
@@ -196,11 +196,7 @@ const isAdmin = computed(() => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Page v-if="isAdmin" :auto-content-height="true">
|
<Page v-if="isAdmin" :auto-content-height="true">
|
||||||
<BasicTable
|
<BasicTable table-title="菜单列表" table-title-help="双击展开/收起子菜单">
|
||||||
id="system-menu-table"
|
|
||||||
table-title="菜单列表"
|
|
||||||
table-title-help="双击展开/收起子菜单"
|
|
||||||
>
|
|
||||||
<template #toolbar-tools>
|
<template #toolbar-tools>
|
||||||
<Space>
|
<Space>
|
||||||
<Tooltip title="删除菜单以及子菜单">
|
<Tooltip title="删除菜单以及子菜单">
|
||||||
@@ -270,13 +266,3 @@ const isAdmin = computed(() => {
|
|||||||
</Page>
|
</Page>
|
||||||
<Fallback v-else description="您没有菜单管理的访问权限" status="403" />
|
<Fallback v-else description="您没有菜单管理的访问权限" status="403" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
#system-menu-table > .vxe-grid {
|
|
||||||
--vxe-ui-table-row-current-background-color: hsl(var(--primary-100));
|
|
||||||
|
|
||||||
html.dark & {
|
|
||||||
--vxe-ui-table-row-current-background-color: hsl(var(--primary-800));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user