fix: 修复role新增编辑bug, 调整列表页
This commit is contained in:
@@ -109,10 +109,10 @@ const tableConfig = reactive({
|
||||
align: 'center'
|
||||
},
|
||||
{
|
||||
prop: 'dataScope',
|
||||
label: '数据范围',
|
||||
prop: 'template',
|
||||
label: '是否为模版角色',
|
||||
align: 'center',
|
||||
currentRender: ({row, index}) => (<span>{formatDataScope(row.dataScope)}</span>)
|
||||
currentRender: ({row, index}) => (<Tag dictType={'yes_no'} value={row.template ? '1' : '0'} />)
|
||||
},
|
||||
{
|
||||
prop: 'roleSort',
|
||||
@@ -154,7 +154,7 @@ const tableConfig = reactive({
|
||||
btn.push({label: '删除', auth: auths.edit, func: ()=>handleDel(row) , type: 'danger'})
|
||||
}
|
||||
return (
|
||||
<div>
|
||||
<div style={{width: '100%'}}>
|
||||
{
|
||||
btn.map(item=>(
|
||||
<el-button
|
||||
|
||||
Reference in New Issue
Block a user