在el-date-picker标签中添加一个属性:value-format="yyyy-MM-dd HH:mm:ss" 转发:https://www.cnblogs.com/unrecognized/p/12228013.html