|
@@ -47,7 +47,7 @@ const header = (props) => {
|
47
|
47
|
dataIndex: 'image',
|
48
|
48
|
key: 'image',
|
49
|
49
|
align: 'center',
|
50
|
|
- render: (x, row) => <img src={row.image} className={row.showPosition === 'index' ? styles.imgIndex : row.showPosition === 'mall' ? styles.imgPerfect : ''} />,
|
|
50
|
+ render: (x, row) => <img onClick={toEditCarouse(row.contentId)} src={row.image} className={row.showPosition === 'index' ? styles.imgIndex : row.showPosition === 'mall' ? styles.imgPerfect : ''} />,
|
51
|
51
|
},
|
52
|
52
|
{
|
53
|
53
|
title: '发布城市',
|
|
@@ -98,7 +98,7 @@ const header = (props) => {
|
98
|
98
|
align: 'center',
|
99
|
99
|
render: withActions((x, row) => [
|
100
|
100
|
<AuthButton name="admin.extendContent.publish" noRight={null}>
|
101
|
|
- <EditIcon type={row.status === 1 ? 'cancel' : 'publish'} text={row.status === 1 ? '下架' : '上架'} onClick={changeStatus(row)} />
|
|
101
|
+ <EditIcon type={row.status === 1 ? 'down' : 'up'} text={row.status === 1 ? '下架' : '上架'} onClick={changeStatus(row)} />
|
102
|
102
|
</AuthButton>,
|
103
|
103
|
|
104
|
104
|
<AuthButton name="admin.extendContent.id.put" noRight={null}>
|