mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 10:59:42 +08:00
mock 接口换成cfc
This commit is contained in:
parent
363cb7af69
commit
cc9da45ecc
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ const ConditionBuilderWithRemoteOptions = withRemoteConfig({
|
||||
return (
|
||||
<ConditionBuilder
|
||||
{...rest}
|
||||
fields={config || rest.fields}
|
||||
fields={config || rest.fields || []}
|
||||
disabled={loading}
|
||||
/>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user