-
Notifications
You must be signed in to change notification settings - Fork 419
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
有办法让数据表里也能声明枚举吗 #91
Comments
tabtoy 支持多个表文件, 对应一个结构导出. 之所以要设计的类型和字段拆分. 就是支持这种需求
|
多Sheet无法导出csv, 不是很友好. 这个从V3一开始设计就不支持多Sheet导出 |
噢噢那好吧~谢谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
需求背景是,因为项目里有一些配置数据会比较频繁地在代码中调用,所以希望在写代码时不是通过int的ID而是专门的EnumID来调用这些配置以增强书写流畅性(有枚举就有联想)和可读性。
目前不是不能实现,但只能是每当配置数据中新增一个id的配置时,同步跑到类型表里加上这个id对应的枚举值,开两个表来回操作效率低且容易出错。所以不知道有没有办法允许在数据表里划出几个字段声明为自动扩充的枚举?
类型表:
数据表:
The text was updated successfully, but these errors were encountered: