~~~
<el-form-item label="时间:" prop="time">
<el-date-picker
v-model="editForm.time"
type="datetime"
placeholder="请选择时间"
size="small"
value-format="yyyy-MM-dd HH:mm:ss"
format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
~~~