【功能移除】菜单管理:全部展开/关闭,没有使用场景,所以清理掉

This commit is contained in:
YunaiV 2025-01-04 11:30:14 +08:00
parent ce60f630c4
commit 09da6579b6

View File

@ -53,10 +53,6 @@
<Icon class="mr-5px" icon="ep:plus" />
新增
</el-button>
<el-button plain type="danger" @click="toggleExpandAll">
<Icon class="mr-5px" icon="ep:sort" />
展开/折叠
</el-button>
<el-button plain @click="refreshMenu">
<Icon class="mr-5px" icon="ep:refresh" />
刷新菜单缓存
@ -79,7 +75,6 @@
:width="width"
:height="height"
expand-column-key="name"
:default-expanded-keys="isExpandAll ? list.map((item) => item.name) : []"
/>
</template>
</el-auto-resizer>
@ -210,7 +205,6 @@ const queryParams = reactive({
status: undefined
})
const queryFormRef = ref() //
const isExpandAll = ref(false) //
/** 查询列表 */
const getList = async () => {
@ -240,11 +234,6 @@ const openForm = (type: string, id?: number, parentId?: number) => {
formRef.value.open(type, id, parentId)
}
/** 展开/折叠操作 */
const toggleExpandAll = () => {
isExpandAll.value = !isExpandAll.value
}
/** 刷新菜单缓存按钮操作 */
const refreshMenu = async () => {
try {