amis icon indicating copy to clipboard operation
amis copied to clipboard

wizard组件 step 内定义了 crud ,如何将crud的数据合并到 wizard 呢?

Open icodingx opened this issue 6 years ago • 5 comments

icodingx avatar Jan 15 '20 01:01 icodingx

crud 不能放到 wizard 里面,如果你要放表格,放 table 好了。

2betop avatar Jan 15 '20 01:01 2betop

wizard 放了 table ,在table 的 operation 里定义了 drawer ,drawer里定义了 crud,crud的 operation定义了 form,最后想把form修改的 crud的数据 合并到 wizard 中 1 2 3

icodingx avatar Jan 15 '20 01:01 icodingx

@icodingx 你把 json schema 发出来看看

catchonme avatar Jan 15 '20 07:01 catchonme

是 drawer 中的 crud 修改了,wizard 中的 table 的数据没有更新是吗?

如果是的话,可以在 drawer -> crud -> operation 中的form的配置中增加 reload 配置,如reload: wizard 中table 的 name ,这样当form添加了数据后会自动刷新 wizard 中的 table 重新拉取数据。

catchonme avatar Jan 15 '20 08:01 catchonme

没回复,先关了

RickCole21 avatar Aug 05 '20 13:08 RickCole21