search

Home  >  Q&A  >  body text

javascript - About mint-ui's datetimePicker, after sliding to select the time, click the cancel button to reset the time?

The following is the demo link of mint-ui:
http://elemefe.github.io/mint...

PHP中文网PHP中文网2713 days ago2886

reply all(2)I'll reply

  • 三叔

    三叔2017-06-30 10:00:01

    The current solutions are:

    // vm是vue实例,通过$refs找到datetimepicker里面的picker进行设置
    vm.$refs.datetimepicker.$refs.picker.setValues(['2007', '01', '01', '00', '00']);

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-06-30 10:00:01

    I’ve been very busy recently, but you invited me to answer, so I’ll just say it briefly. See if yours has a reset attribute. If so, reset=true

    reply
    0
  • Cancelreply