mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 15:56:47 +08:00
讲师管理bug
This commit is contained in:
@@ -106,9 +106,23 @@ const columns = [
|
||||
},
|
||||
{
|
||||
title: '类型',
|
||||
dataIndex: 'age',
|
||||
key: 'age',
|
||||
dataIndex: 'updateStatus',
|
||||
key: 'updateStatus',
|
||||
align: 'center',
|
||||
customRender: ({text})=>{
|
||||
switch (text) {
|
||||
case 0:
|
||||
return <span>未更改</span>;
|
||||
case 1:
|
||||
return <span>新增</span>;
|
||||
case 2:
|
||||
return <span>移除</span>;
|
||||
case 3:
|
||||
return <span>编辑</span>;
|
||||
default:
|
||||
return <span>-</span>;
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '状态',
|
||||
|
||||
Reference in New Issue
Block a user