File tree Expand file tree Collapse file tree 3 files changed +3
-32
lines changed Expand file tree Collapse file tree 3 files changed +3
-32
lines changed Original file line number Diff line number Diff line change @@ -1040,32 +1040,3 @@ li {
1040
1040
}
1041
1041
}
1042
1042
}
1043
- @media screen and (max-width : 1080px ) {
1044
- .admin-box {
1045
- tr {
1046
- td {
1047
- .el-button {
1048
- padding : 7px 5px ;
1049
- }
1050
- }
1051
- }
1052
- }
1053
- }
1054
- @media screen and (max-width : 885px ) {
1055
- .admin-box {
1056
- .el-table__fixed-right {
1057
- tr {
1058
- td {
1059
- .el-button {
1060
- padding : 7px 0px ;
1061
- }
1062
- }
1063
- }
1064
- }
1065
- .el-table__row {
1066
- .el-button.el-button--text.el-button--small ::after {
1067
- margin-left : 8px ;
1068
- }
1069
- }
1070
- }
1071
- }
Original file line number Diff line number Diff line change 17
17
<el-table-column label =" 姓名" prop =" name" width =" 120" ></el-table-column >
18
18
<el-table-column label =" 年龄" prop =" age" width =" 120" ></el-table-column >
19
19
<el-table-column label =" 住址" prop =" address" min-width =" 200" show-overflow-tooltip ></el-table-column >
20
- <el-table-column label =" 是否禁用" prop =" switch" min- width =" 180" >
20
+ <el-table-column label =" 是否禁用" prop =" switch" width =" 180" >
21
21
<template slot-scope="scope">
22
22
<el-switch active-text =" 开启" inactive-text =" 禁用" v-model =" scope.row.switch" ></el-switch >
23
23
</template >
24
24
</el-table-column >
25
- <el-table-column label =" 按钮组" min- width =" 180 " >
25
+ <el-table-column label =" 按钮组" width =" 200 " >
26
26
<template slot-scope="scope" >
27
27
<el-button type =" text" size =" small" @click =" toggleSelection([scope.row])" >按钮1</el-button >
28
28
<el-button type =" text" size =" small" @click =" toggleSelection([scope.row])" >按钮2</el-button >
Original file line number Diff line number Diff line change 13
13
>
14
14
<el-table-column label =" 角色id" min-width =" 180" prop =" authorityId" ></el-table-column >
15
15
<el-table-column label =" 角色名称" min-width =" 180" prop =" authorityName" ></el-table-column >
16
- <el-table-column fixed =" right" label =" 操作" min- width =" 350 " >
16
+ <el-table-column fixed =" right" label =" 操作" width =" 460 " >
17
17
<template slot-scope="scope">
18
18
<el-button @click =" opdendrawer(scope.row)" size =" small" type =" text" >设置权限</el-button >
19
19
<el-button @click =" addAuthority(scope.row.authorityId)" size =" small" type =" text" >新增子角色</el-button >
You can’t perform that action at this time.
0 commit comments