forked from p96170835/amis
commit
82ac17d59d
|
@ -24,6 +24,7 @@ export class ServiceRenderer extends BasicService {
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
const {formInited, addHook} = this.props;
|
const {formInited, addHook} = this.props;
|
||||||
|
this.mounted = true;
|
||||||
|
|
||||||
// form层级下的所有service应该都会走这里
|
// form层级下的所有service应该都会走这里
|
||||||
// 但是传入props有可能是undefined,所以做个处理
|
// 但是传入props有可能是undefined,所以做个处理
|
||||||
|
@ -66,10 +67,10 @@ export class ServiceRenderer extends BasicService {
|
||||||
|
|
||||||
const finnalSchema = store.schema ||
|
const finnalSchema = store.schema ||
|
||||||
schema || {
|
schema || {
|
||||||
controls,
|
controls,
|
||||||
tabs,
|
tabs,
|
||||||
feildSet
|
feildSet
|
||||||
};
|
};
|
||||||
if (
|
if (
|
||||||
finnalSchema &&
|
finnalSchema &&
|
||||||
!finnalSchema.type &&
|
!finnalSchema.type &&
|
||||||
|
|
Loading…
Reference in New Issue