Skip to content

在线开发,代码生成功能生成的vue页面,数据的校验失效 #702

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
chinazml opened this issue Nov 1, 2019 · 3 comments
Closed

Comments

@chinazml
Copy link

chinazml commented Nov 1, 2019

版本号:2.1.1
问题描述:在线开发,代码生成功能生成的vue页面,数据的校验失效(包括唯一性校验、输入长度、数字校验、小数校验等,见截图),同样的功能在在线功能测试的时候有效。

还有选中三列分布,生成的vue是不分列的。

截图&代码:

微信截图_20191101155323
QQ截图20191101155725

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

@liudonghua123
Copy link
Contributor

生成的代码和online的模板不一样,我看了一下,online的模板代码内容要更多点,应该支持的更全面完善一些,如果可能的或,试着生成的代码使用online的模板试试看呢,虽然我没有测试过,理论上应该可以。

image

@zhangdaiscott
Copy link
Member

代码生成不支持三列模板,校验的话我们看下

@sjlei
Copy link

sjlei commented Dec 18, 2019

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

4 participants