Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fc-designer 组件 接口数据/解析函数 无法设置 #110

Closed
cyberkingkong opened this issue Dec 26, 2023 · 3 comments
Closed

fc-designer 组件 接口数据/解析函数 无法设置 #110

cyberkingkong opened this issue Dec 26, 2023 · 3 comments

Comments

@cyberkingkong
Copy link

fc-designer 组件 接口数据/解析函数
例:
创建 select 组件,并设置数据为接口数据,设置接口地址,并设置解析函数,提交后 fetch的parse是空的。
看了以前老版本是 _parse,后面改成了 parse ,并删减了很多代码,不知道是不是这里的原因。

@xaboy
Copy link
Owner

xaboy commented Dec 29, 2023

需要通过$refs.fd.getJson()方法获取json规则,使用时通过formCreate.parseJson方法解析

@rujianwang
Copy link

接口地址是动态设置参数的 要怎么设置

@xaboy
Copy link
Owner

xaboy commented Jun 3, 2024

最新版本中已经优化

@xaboy xaboy closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants