优化代码

This commit is contained in:
smallchill 2019-02-14 19:53:44 +08:00
parent 1fc9b76349
commit 81b4c904dc

View File

@ -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() {