<el-date-picker
          v-model="startTime"
          type="datetime"
          format="yyyy-MM-dd HH:mm:ss"
          value-format="yyyy-MM-dd HH:mm:ss"
          placeholder="选择日期时间">
      </el-date-picker>
    {{startTime}}

2.得到结果:          2019-01-10 13:24:08

3. 原文链接: 

https://blog.csdn.net/CarryBest/article/details/79917871

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-03
  • 2022-02-17
  • 2022-12-23
  • 2021-08-24
猜你喜欢
  • 2021-07-28
  • 2022-12-23
  • 2021-05-24
  • 2022-12-23
  • 2022-12-23
  • 2021-06-02
相关资源
相似解决方案