修复form中的service轮训问题

This commit is contained in:
rickcole 2020-05-06 18:28:06 +08:00
parent b35d656d2c
commit ae1deb9165
1 changed files with 5 additions and 4 deletions

View File

@ -24,6 +24,7 @@ export class ServiceRenderer extends BasicService {
componentDidMount() {
const {formInited, addHook} = this.props;
this.mounted = true;
// form层级下的所有service应该都会走这里
// 但是传入props有可能是undefined所以做个处理