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

配置物模型功能定义时,添加枚举类型参数时,能否指定枚举项值类型,如整型或字符串? #296

Open
tony358 opened this issue May 26, 2023 · 3 comments

Comments

@tony358
Copy link

tony358 commented May 26, 2023

No description provided.

@zhou-hao
Copy link
Member

枚举的存储只支持字符串。但是你可以把key 设置为 0 1 2 。

@tony358
Copy link
Author

tony358 commented May 26, 2023

枚举的存储只支持字符串。但是你可以把key 设置为 0 1 2 。

你说得key是在哪里配置的? 界面参数配置没看到有这个。

@zhou-hao
Copy link
Member

在2.0版本中是这个
image

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

2 participants