mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 05:18:34 +08:00
form下service正则优化
This commit is contained in:
parent
603be2449c
commit
2c8a9037fa
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user