Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
问题描述:
当在生成代码的时候,在查询页面选择
日期时间
(datetime)格式时,会生成半对</el-col>
标签,导致生成的代码带有语法错误。原因:
因为gen_template表中的表格模板中对
日期时间
格式的字段处理时有问题。修改部分:
讨论:
可以将缺失的另外半个el-col加上,但是日期时间的选择框会换行,页面会显得凌乱不堪。因此选择去掉这半个el-col标记。
修改后效果: