mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-12 12:13:51 +08:00
发布v2.11.5版本,更新内容请查看:https://github.com/bufanyun/hotgo/blob/v2.0/docs/guide-zh-CN/start-update-log.md
This commit is contained in:
@@ -8,34 +8,33 @@ export const columns = [
|
||||
key: 'id',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '上级ID',
|
||||
dataIndex: 'pid',
|
||||
key: 'pid',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '分组名称',
|
||||
dataIndex: 'name',
|
||||
key: 'name',
|
||||
width: 200,
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
title: '是否默认',
|
||||
title: '上级分组',
|
||||
dataIndex: 'supName',
|
||||
key: 'supName',
|
||||
width: 150,
|
||||
render(row) {
|
||||
if (row.supName == ''){
|
||||
return '顶级分组';
|
||||
}
|
||||
return row.supName;
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '默认',
|
||||
dataIndex: 'isDefault',
|
||||
key: 'isDefault',
|
||||
render(row) {
|
||||
return row.is_default === 1 ? '是' : '否';
|
||||
return row.isDefault === 1 ? '是' : '否';
|
||||
},
|
||||
width: 100,
|
||||
width: 80,
|
||||
},
|
||||
{
|
||||
title: '排序',
|
||||
dataIndex: 'sort',
|
||||
key: 'sort',
|
||||
width: 100,
|
||||
},
|
||||
|
||||
{
|
||||
title: '状态',
|
||||
dataIndex: 'status',
|
||||
@@ -57,6 +56,12 @@ export const columns = [
|
||||
},
|
||||
width: 150,
|
||||
},
|
||||
// {
|
||||
// title: '排序',
|
||||
// dataIndex: 'sort',
|
||||
// key: 'sort',
|
||||
// width: 100,
|
||||
// },
|
||||
{
|
||||
title: '备注',
|
||||
dataIndex: 'remark',
|
||||
|
||||
Reference in New Issue
Block a user