mock 接口换成cfc

This commit is contained in:
2betop 2021-04-08 17:42:49 +08:00
parent 363cb7af69
commit cc9da45ecc
2 changed files with 2 additions and 2 deletions

View File

@ -370,7 +370,7 @@ type Value = ValueGroup;
"label": "条件组件",
"name": "conditions",
"description": "适合让用户自己拼查询条件,然后后端根据数据生成 query where",
"source": "/api/mock2/condition-fields?a=${a}&waitSeconds=2"
"source": "https://3xsw4ap8wah59.cfc-execute.bj.baidubce.com/api/amis-mock/condition-fields?a=${a}&waitSeconds=2"
}
]
}

View File

@ -71,7 +71,7 @@ const ConditionBuilderWithRemoteOptions = withRemoteConfig({
return (
<ConditionBuilder
{...rest}
fields={config || rest.fields}
fields={config || rest.fields || []}
disabled={loading}
/>
);