fix(system): 修复菜单管理页面图标语法错误
- 修复菜单管理页面中10个图标的语法格式 - 包含搜索、刷新、新增、删除、展开/收起等功能图标 - 修复树形菜单展开控制图标显示问题 - 确保菜单管理功能的所有交互图标正常工作
This commit is contained in:
parent
dc2162d36e
commit
1b2191fc2f
@ -53,13 +53,13 @@
|
|||||||
<NSpace>
|
<NSpace>
|
||||||
<NButton type="primary" @click="handleSearch">
|
<NButton type="primary" @click="handleSearch">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<NIcon><icon-park-outline:search /></NIcon>
|
<NIcon><icon-park-outline-search /></NIcon>
|
||||||
</template>
|
</template>
|
||||||
搜索
|
搜索
|
||||||
</NButton>
|
</NButton>
|
||||||
<NButton @click="handleReset">
|
<NButton @click="handleReset">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<NIcon><icon-park-outline:refresh /></NIcon>
|
<NIcon><icon-park-outline-refresh /></NIcon>
|
||||||
</template>
|
</template>
|
||||||
重置
|
重置
|
||||||
</NButton>
|
</NButton>
|
||||||
@ -76,7 +76,7 @@
|
|||||||
<NButton v-if="hasButton(PERMISSIONS.MENU.ADD)" type="primary" size="medium" class="px-3 flex items-center" @click="handleAdd">
|
<NButton v-if="hasButton(PERMISSIONS.MENU.ADD)" type="primary" size="medium" class="px-3 flex items-center" @click="handleAdd">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<NIcon class="mr-1" style="transform: translateY(-1px)">
|
<NIcon class="mr-1" style="transform: translateY(-1px)">
|
||||||
<icon-park-outline:plus />
|
<IconParkOutlinePlus />
|
||||||
</NIcon>
|
</NIcon>
|
||||||
</template>
|
</template>
|
||||||
新增
|
新增
|
||||||
@ -92,7 +92,7 @@
|
|||||||
>
|
>
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<NIcon class="mr-1" style="transform: translateY(-1px)">
|
<NIcon class="mr-1" style="transform: translateY(-1px)">
|
||||||
<icon-park-outline:delete />
|
<IconParkOutlineDelete />
|
||||||
</NIcon>
|
</NIcon>
|
||||||
</template>
|
</template>
|
||||||
删除
|
删除
|
||||||
@ -101,8 +101,8 @@
|
|||||||
<NButton size="medium" class="px-3 flex items-center" @click="handleExpandToggle">
|
<NButton size="medium" class="px-3 flex items-center" @click="handleExpandToggle">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<NIcon class="mr-1" style="transform: translateY(-1px)">
|
<NIcon class="mr-1" style="transform: translateY(-1px)">
|
||||||
<icon-park-outline:expand-up v-if="isAllExpanded" />
|
<icon-park-outline-expand-up v-if="isAllExpanded" />
|
||||||
<icon-park-outline:expand-down v-else />
|
<icon-park-outline-expand-down v-else />
|
||||||
</NIcon>
|
</NIcon>
|
||||||
</template>
|
</template>
|
||||||
{{ isAllExpanded ? '全部折叠' : '全部展开' }}
|
{{ isAllExpanded ? '全部折叠' : '全部展开' }}
|
||||||
@ -112,7 +112,7 @@
|
|||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<NButton type="tertiary" @click="handleRefresh">
|
<NButton type="tertiary" @click="handleRefresh">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<NIcon><icon-park-outline:refresh /></NIcon>
|
<NIcon><icon-park-outline-refresh /></NIcon>
|
||||||
</template>
|
</template>
|
||||||
</NButton>
|
</NButton>
|
||||||
</div>
|
</div>
|
||||||
@ -159,8 +159,8 @@
|
|||||||
>
|
>
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<NIcon>
|
<NIcon>
|
||||||
<icon-park-outline:refresh v-if="hasSearchConditions()" />
|
<icon-park-outline-refresh v-if="hasSearchConditions()" />
|
||||||
<icon-park-outline:plus v-else />
|
<IconParkOutlinePlus v-else />
|
||||||
</NIcon>
|
</NIcon>
|
||||||
</template>
|
</template>
|
||||||
{{ getEmptyActionText() }}
|
{{ getEmptyActionText() }}
|
||||||
@ -213,7 +213,7 @@
|
|||||||
>
|
>
|
||||||
<template #suffix>
|
<template #suffix>
|
||||||
<NIcon>
|
<NIcon>
|
||||||
<icon-park-outline:down />
|
<icon-park-outline-down />
|
||||||
</NIcon>
|
</NIcon>
|
||||||
</template>
|
</template>
|
||||||
</n-input>
|
</n-input>
|
||||||
@ -281,7 +281,7 @@
|
|||||||
({{ menu.children.length }})
|
({{ menu.children.length }})
|
||||||
</span>
|
</span>
|
||||||
<NIcon v-if="menu.children?.length" class="expand-icon">
|
<NIcon v-if="menu.children?.length" class="expand-icon">
|
||||||
<icon-park-outline:right />
|
<icon-park-outline-right />
|
||||||
</NIcon>
|
</NIcon>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user