Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
09da6579
authored
Jan 04, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【功能移除】菜单管理:全部展开/关闭,没有使用场景,所以清理掉
parent
ce60f630
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
src/views/system/menu/index.vue
+0
-11
No files found.
src/views/system/menu/index.vue
View file @
09da6579
...
@@ -53,10 +53,6 @@
...
@@ -53,10 +53,6 @@
<Icon
class=
"mr-5px"
icon=
"ep:plus"
/>
<Icon
class=
"mr-5px"
icon=
"ep:plus"
/>
新增
新增
</el-button>
</el-button>
<el-button
plain
type=
"danger"
@
click=
"toggleExpandAll"
>
<Icon
class=
"mr-5px"
icon=
"ep:sort"
/>
展开/折叠
</el-button>
<el-button
plain
@
click=
"refreshMenu"
>
<el-button
plain
@
click=
"refreshMenu"
>
<Icon
class=
"mr-5px"
icon=
"ep:refresh"
/>
<Icon
class=
"mr-5px"
icon=
"ep:refresh"
/>
刷新菜单缓存
刷新菜单缓存
...
@@ -79,7 +75,6 @@
...
@@ -79,7 +75,6 @@
:width=
"width"
:width=
"width"
:height=
"height"
:height=
"height"
expand-column-key=
"name"
expand-column-key=
"name"
:default-expanded-keys=
"isExpandAll ? list.map((item) => item.name) : []"
/>
/>
</
template
>
</
template
>
</el-auto-resizer>
</el-auto-resizer>
...
@@ -210,7 +205,6 @@ const queryParams = reactive({
...
@@ -210,7 +205,6 @@ const queryParams = reactive({
status
:
undefined
status
:
undefined
})
})
const
queryFormRef
=
ref
()
// 搜索的表单
const
queryFormRef
=
ref
()
// 搜索的表单
const
isExpandAll
=
ref
(
false
)
// 是否展开,默认全部折叠
/** 查询列表 */
/** 查询列表 */
const
getList
=
async
()
=>
{
const
getList
=
async
()
=>
{
...
@@ -240,11 +234,6 @@ const openForm = (type: string, id?: number, parentId?: number) => {
...
@@ -240,11 +234,6 @@ const openForm = (type: string, id?: number, parentId?: number) => {
formRef
.
value
.
open
(
type
,
id
,
parentId
)
formRef
.
value
.
open
(
type
,
id
,
parentId
)
}
}
/** 展开/折叠操作 */
const
toggleExpandAll
=
()
=>
{
isExpandAll
.
value
=
!
isExpandAll
.
value
}
/** 刷新菜单缓存按钮操作 */
/** 刷新菜单缓存按钮操作 */
const
refreshMenu
=
async
()
=>
{
const
refreshMenu
=
async
()
=>
{
try
{
try
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment