form下service正则优化

This commit is contained in:
RickCole21 2020-02-26 12:35:51 +08:00
parent 603be2449c
commit 2c8a9037fa

View File

@ -8,7 +8,7 @@ import {observer} from 'mobx-react';
import {ServiceStore, IServiceStore} from '../../store/service';
@Renderer({
test: /(^|\/)form\/(.*)\/service$/,
test: /(^|\/)form(?:\/.+)?\/control\/service$/,
weight: -100,
storeType: ServiceStore.name,
storeExtendsData: false,
@ -64,10 +64,10 @@ export class ServiceRenderer extends BasicService {
const finnalSchema = store.schema ||
schema || {
controls,
tabs,
feildSet
};
controls,
tabs,
feildSet
};
if (
finnalSchema &&
!finnalSchema.type &&