fix: 修改table显示bug
This commit is contained in:
@@ -291,4 +291,9 @@ onMounted(() => {
|
||||
justify-content: space-between;
|
||||
align-content: center;
|
||||
}
|
||||
.fv-table {
|
||||
:deep(.el-tooltip) {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -112,6 +112,7 @@ const tableConfig = reactive({
|
||||
prop: 'template',
|
||||
label: '是否为模版角色',
|
||||
align: 'center',
|
||||
showOverflowTooltip: false,
|
||||
currentRender: ({row, index}) => (<Tag dictType={'yes_no'} value={row.template ? '1' : '0'} />)
|
||||
},
|
||||
{
|
||||
@@ -122,6 +123,7 @@ const tableConfig = reactive({
|
||||
{
|
||||
prop: 'state',
|
||||
label: '状态',
|
||||
showOverflowTooltip: false,
|
||||
align: 'center',
|
||||
currentRender: ({row, index}) => (<Tag dictType={'normal_disable'} value={row.state} />)
|
||||
},
|
||||
@@ -147,7 +149,7 @@ const tableConfig = reactive({
|
||||
btn.push({label: '删除', auth: auths.edit, func: ()=>handleDel(row) , type: 'danger'})
|
||||
}
|
||||
return (
|
||||
<div style={{width: '100%'}}>
|
||||
<div>
|
||||
{
|
||||
btn.map(item=>(
|
||||
<el-button
|
||||
|
||||
Reference in New Issue
Block a user