提交 e9adf8ab authored 作者: 钟是志's avatar 钟是志

优化代码

上级 8814a477
......@@ -253,6 +253,7 @@ class SponsorForm extends Component {
computedMatch: this.props?.computedMatch,
route: this.props?.route,
};
console.log(routerState);
return (
<>
{isLoading ? (
......
......@@ -97,6 +97,7 @@ export default class IframeForApply extends React.Component {
noNeedTitle,
} = this.state;
const { modileHome, returnList } = this.props;
console.log(this.props);
return (
<div
className={names('warp IframeDiy')}
......@@ -125,14 +126,16 @@ export default class IframeForApply extends React.Component {
radioValue={value}
noNeedApplyButton={noNeedApply}
init={init} // 表单的初始化数据 用于发起时传入默认值
// location={this.props.location}
history={{
...this.props.history,
location: {
...this.props.history.location,
...this.props.location,
state: {
id,
noNeedCaoGao: true,
app: {},
...this.props.location?.state,
},
},
}}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论