zepto日期插件zepto.mdatertimer,通过trigger方法触发,会触发两次的bug怎么解决?
这是我的代码:
<input id="arrive_time" class="arrive-time" type="text" readonly style="display: none;" />
$('#time_handle').on('singleTap',function(){
$('#arrive_time').trigger('tap');
})
当选择日期后,执行回调会执行两次。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
业精于勤,荒于嬉;行成于思,毁于随。