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

修复表格生成后代码el-col代码语法错误问题 #1036

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

travisbikkle
Copy link
Contributor

问题描述:

当在生成代码的时候,在查询页面选择日期时间(datetime)格式时,会生成半对</el-col>标签,导致生成的代码带有语法错误。
Screenshot 2024-04-18 010306

原因:

因为gen_template表中的表格模板中对日期时间格式的字段处理时有问题。

修改部分:

image

讨论:

可以将缺失的另外半个el-col加上,但是日期时间的选择框会换行,页面会显得凌乱不堪。因此选择去掉这半个el-col标记。

修改后效果:

Screenshot 2024-04-18 011040

@lltx lltx merged commit 1a9c0f3 into pig-mesh:jdk17-dev Apr 18, 2024
@lltx
Copy link
Collaborator

lltx commented Apr 18, 2024

LGTM

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

Successfully merging this pull request may close these issues.

2 participants