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