修正 laydate.js 的 done 事件,当下一个日期弹出前,可能上一个还未设置,导致选择不上的问题。

This commit is contained in:
卓源软件
2020-07-27 19:14:12 +08:00
committed by Gitee
parent 34c47d1686
commit a6cbbbfd16

View File

@@ -1647,8 +1647,8 @@
} else {
if(lay(btn).hasClass(DISABLED)) return that.hint('不在有效日期或时间范围内');
}
that.done();
that.setValue(that.parse()).remove()
that.done();
}
};
active[type] && active[type]();