⚡ 优化代码
This commit is contained in:
parent
1fc9b76349
commit
81b4c904dc
|
|
@ -30,7 +30,7 @@ class $!{entity}View extends PureComponent {
|
|||
params: { id },
|
||||
},
|
||||
} = this.props;
|
||||
router.push(`/$!{cfg.servicePackage}/$!{table.entityPath}/edit/${id}`);
|
||||
router.push(`/$!{cfg.servicePackage}/$!{table.entityPath}/edit/$!{id}`);
|
||||
};
|
||||
|
||||
render() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user