Skip to content

online表单开发,主附表模式修改表名后代码生成无法正常使用的bug #870

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

Closed
guojingbing opened this issue Jan 3, 2020 · 2 comments

Comments

@guojingbing
Copy link

版本号:2.1.3
问题描述:online表单开发,主附表模式,如果过程中有修改表名,会导致生成代码业务无法正常执行(报错),我查了一下报错原因是修改表名后onl_cgform_head这个表中业务主表数据的sub_table_str字段没有更新,业务从表的“table_name”也没有更新,从而导致在生成代码页面获取不到正确的从表信息。
截图&代码:

生成代码页面报错
jeecg Cannot read property 'tableName' of nullError in render: "TypeError: Cannot read property 'tableName' ......

友情提示: 未按格式要求发帖,会直接删掉。

@zhangdaiscott
Copy link
Member

zhangdaiscott commented Jan 3, 2020

收到,处理中

@zhangdaiscott
Copy link
Member

已经处理,online表单不允许修改表名,增加安全性

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