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
791d5902
authored
Jan 04, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【功能优化】菜单管理:调整宽度,避免过窄
parent
09da6579
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/views/system/menu/index.vue
+6
-6
No files found.
src/views/system/menu/index.vue
View file @
791d5902
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
<!-- 列表 -->
<!-- 列表 -->
<ContentWrap>
<ContentWrap>
<div
style=
"
width: 100%;
height: 700px"
>
<div
style=
"height: 700px"
>
<!-- AutoResizer 自动调节大小 -->
<!-- AutoResizer 自动调节大小 -->
<el-auto-resizer>
<el-auto-resizer>
<template
#
default=
"
{ height, width }">
<template
#
default=
"
{ height, width }">
...
@@ -123,27 +123,27 @@ const columns: Column[] = [
...
@@ -123,27 +123,27 @@ const columns: Column[] = [
{
{
dataKey
:
'sort'
,
dataKey
:
'sort'
,
title
:
'排序'
,
title
:
'排序'
,
width
:
6
0
width
:
10
0
},
},
{
{
dataKey
:
'permission'
,
dataKey
:
'permission'
,
title
:
'权限标识'
,
title
:
'权限标识'
,
width
:
18
0
width
:
24
0
},
},
{
{
dataKey
:
'component'
,
dataKey
:
'component'
,
title
:
'组件路径'
,
title
:
'组件路径'
,
width
:
18
0
width
:
24
0
},
},
{
{
dataKey
:
'componentName'
,
dataKey
:
'componentName'
,
title
:
'组件名称'
,
title
:
'组件名称'
,
width
:
18
0
width
:
24
0
},
},
{
{
dataKey
:
'status'
,
dataKey
:
'status'
,
title
:
'状态'
,
title
:
'状态'
,
width
:
1
2
0
,
width
:
1
6
0
,
cellRenderer
:
({
rowData
})
=>
{
cellRenderer
:
({
rowData
})
=>
{
return
h
(
ElSwitch
,
{
return
h
(
ElSwitch
,
{
modelValue
:
rowData
.
status
,
modelValue
:
rowData
.
status
,
...
...
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