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

This commit is contained in:
thinkgem
2020-07-27 19:14:39 +08:00
parent 91452fdd93
commit d9c3b036f3

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]();