refactor: ♻️ 菜单管理重构完成

This commit is contained in:
H0nGzA1
2023-03-30 15:37:27 +08:00
parent cfae363f53
commit cd60b3d9be
7 changed files with 409 additions and 271 deletions

View File

@@ -1,14 +1,14 @@
<template>
<fs-page>
<el-row>
<el-col :span="4">
<el-row class="mx-2">
<el-col :span="4" class="p-1">
<el-card :body-style="{ height: '100%' }">
<el-input v-model="filterText" :placeholder="placeholder" />
<el-tree ref="treeRef" class="filter-tree" :data="data" :props="defaultProps" default-expand-all :filter-node-method="filterNode" />
</el-card>
</el-col>
<el-col :span="20" :offset="0">
<el-col :span="20" :offset="0" class="p-1">
<el-card :body-style="{ height: '100%' }">
<fs-crud class="h-full w-full" ref="crudRef" v-bind="crudBinding"> </fs-crud>
</el-card>