Skip to content

Commit 791d590

Browse files
committed
【功能优化】菜单管理:调整宽度,避免过窄
1 parent 09da657 commit 791d590

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/views/system/menu/index.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
<!-- 列表 -->
6565
<ContentWrap>
66-
<div style="width: 100%; height: 700px">
66+
<div style="height: 700px">
6767
<!-- AutoResizer 自动调节大小 -->
6868
<el-auto-resizer>
6969
<template #default="{ height, width }">
@@ -123,27 +123,27 @@ const columns: Column[] = [
123123
{
124124
dataKey: 'sort',
125125
title: '排序',
126-
width: 60
126+
width: 100
127127
},
128128
{
129129
dataKey: 'permission',
130130
title: '权限标识',
131-
width: 180
131+
width: 240
132132
},
133133
{
134134
dataKey: 'component',
135135
title: '组件路径',
136-
width: 180
136+
width: 240
137137
},
138138
{
139139
dataKey: 'componentName',
140140
title: '组件名称',
141-
width: 180
141+
width: 240
142142
},
143143
{
144144
dataKey: 'status',
145145
title: '状态',
146-
width: 120,
146+
width: 160,
147147
cellRenderer: ({ rowData }) => {
148148
return h(ElSwitch, {
149149
modelValue: rowData.status,

0 commit comments

Comments
 (0)