fix role list link error

This commit is contained in:
Gucheng Wang
2023-02-25 09:39:19 +08:00
parent 8aefa02036
commit 05fade1d05

View File

@ -82,7 +82,7 @@ class RoleListPage extends BaseListPage {
...this.getColumnSearchProps("name"), ...this.getColumnSearchProps("name"),
render: (text, record, index) => { render: (text, record, index) => {
return ( return (
<Link to={`/roles/${text}`}> <Link to={`/roles/${record.owner}/${record.name}`}>
{text} {text}
</Link> </Link>
); );