!135 【修复】代码生成对话框的日期选择器,在编辑情况下不能回显

Merge pull request !135 from dearliuliu0522/dev
This commit is contained in:
芋道源码 2022-05-02 04:35:34 +00:00 committed by Gitee
commit 1ebfb20d08
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -160,7 +160,7 @@
</el-form-item>
#elseif($column.htmlType == "datetime")## 时间框
<el-form-item label="${comment}" prop="${javaField}">
<el-date-picker clearable v-model="form.${javaField}" type="date" value-format="yyyy-MM-dd" placeholder="选择${comment}" />
<el-date-picker clearable v-model="form.${javaField}" type="date" value-format="timestamp" placeholder="选择${comment}" />
</el-form-item>
#elseif($column.htmlType == "textarea")## 文本框
<el-form-item label="${comment}" prop="${javaField}">