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

自定义组件的meta.ts文件中isRequired字段的作用 #2384

Open
little-yaonv opened this issue Aug 18, 2023 · 4 comments
Open

自定义组件的meta.ts文件中isRequired字段的作用 #2384

little-yaonv opened this issue Aug 18, 2023 · 4 comments
Labels
help wanted Extra attention is needed / 老铁,赚 PR 的机会来了

Comments

@little-yaonv
Copy link

请问在自定义组件的时候,执行npm run lowcode:dev命令生成的lowcode文件夹中的meta.ts文件中isRequired字段的作用是什么呢,感觉设置为true或者false都没有什么不同
image

@JackLian
Copy link
Collaborator

看了下BoolSetter里这个确实没用,应该是写错了,可以提个pr删掉~
https://lowcode-engine.cn/site/docs/guide/appendix/setterDetails/bool

@JackLian JackLian added the help wanted Extra attention is needed / 老铁,赚 PR 的机会来了 label Aug 18, 2023
@github-actions
Copy link

Hello @little-yaonv. We totally like your proposal/feedback, PR wanted。

你好 @little-yaonv,我们完全同意你的提议/反馈,欢迎 PR。

@little-yaonv
Copy link
Author

请问这个字段在哪个设置器中会生效呢,以及怎样使用,具体起什么作用呀

@JackLian
Copy link
Collaborator

https://lowcode-engine.cn/site/docs/guide/appendix/setters
每个setter有什么字段可以参考每个setter的文档或源码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed / 老铁,赚 PR 的机会来了
Projects
None yet
Development

No branches or pull requests

2 participants