amis 字段名如何配置跟数据库字段进行绑定?"暂无可绑定字段"如何处理?

8ljdwjyq  于 2个月前  发布在  其他
关注(0)|答案(1)|浏览(34)
实现场景:

在编辑器配置字段名的时候,不通过手动输入字段名的方式配置,通过跟数据库字段绑定的方式如何操作?如何将编辑器和数据库字段进行强绑定,通过选择数据库字段的方式进行字段名的配置?

当前方案:

<Editor
theme={'cxd'}
preview={store.preview}
isMobile={store.isMobile}
value={store.schema}
onChange={onChange}
onPreview={() => {
store.setPreview(true);
}}
onSave={save}
className="is-fixed"
$schemaUrl={schemaUrl}
iframeUrl={iframeUrl}
showCustomRenderersPanel={true}
amisEnv={{
fetcher: store.fetcher,
notify: store.notify,
alert: store.alert,
copy: store.copy
}}
/>

46scxncf

46scxncf1#

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

相关问题