fix: 修复message的对齐

This commit is contained in:
ibuler
2020-06-01 20:11:06 +08:00
parent df645eaeff
commit 698c7dc354
2 changed files with 9 additions and 5 deletions

View File

@@ -430,3 +430,7 @@ a {
background: white;
border-color: $--color-danger;
}
.el-alert .el-alert__description {
margin: 1px 0 0;
}

View File

@@ -24,6 +24,9 @@ export default {
tableConfig: {
url: '/api/v1/assets/assets/',
hasTree: true,
columns: [
'hostname', 'ip', 'hardware_info', 'reachable', 'actions'
],
columnsMeta: {
hostname: {
formatter: DetailFormatter,
@@ -33,7 +36,7 @@ export default {
},
ip: {
sortable: 'custom',
width: '120px'
width: '140px'
},
hardware_info: {
showOverflowTooltip: true
@@ -54,10 +57,7 @@ export default {
}
}
}
},
columns: [
'hostname', 'ip', 'hardware_info', 'reachable', 'actions'
]
}
},
headerActions: {
createRoute: 'AssetCreate'