vue-Element 日期时间选择器中只精确到小时 解决方案: data-format:”yyyy-MM-dd HH” 如果不行,就再在css里加样式: <style> /* 选择时间时去掉分钟样式 */ .el-time-spinner__wrapper{ width:100% !important; } .el-scrollbar:nth-of-type(2){ display: none !important; } </style>