mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
service 在 form 下面的逻辑优化
This commit is contained in:
parent
9bfae87df0
commit
7ffd8c8262
@ -216,11 +216,21 @@ export default class Service extends React.Component<ServiceProps> {
|
||||
}
|
||||
}
|
||||
|
||||
afterDataFetch(data: any) {
|
||||
this.initInterval(data);
|
||||
afterDataFetch(schema: any) {
|
||||
const {onBulkChange, formMode} = this.props;
|
||||
if (formMode && schema?.data && onBulkChange) {
|
||||
onBulkChange(schema?.data);
|
||||
}
|
||||
|
||||
this.initInterval(schema);
|
||||
}
|
||||
|
||||
afterSchemaFetch(schema: any) {
|
||||
const {onBulkChange, formMode} = this.props;
|
||||
if (formMode && schema?.data && onBulkChange) {
|
||||
onBulkChange(schema.data);
|
||||
}
|
||||
|
||||
this.initInterval(schema);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user