文档列表点击文档后跳转至文档编辑页
This commit is contained in:
parent
4aa9073981
commit
d9927261e5
|
|
@ -35,7 +35,7 @@ export default function Render(props) {
|
|||
width: 600,
|
||||
render: (_, record) => {
|
||||
return (<div className={Styles.name} onClick={() => {
|
||||
goDetail(record.id);
|
||||
onEditor(record.id);
|
||||
}}>{record.name}</div>);
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ export default function Render(
|
|||
return (
|
||||
<div className={Styles.name}
|
||||
onClick={() => {
|
||||
goDetail(record.id)
|
||||
onEditor(record.id)
|
||||
}}
|
||||
>{record.name}</div>
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue