修正 laydate.js 的 done 事件,当下一个日期弹出前,可能上一个还未设置,导致选择不上的问题。
This commit is contained in:
@@ -1647,8 +1647,8 @@
|
|||||||
} else {
|
} else {
|
||||||
if(lay(btn).hasClass(DISABLED)) return that.hint('不在有效日期或时间范围内');
|
if(lay(btn).hasClass(DISABLED)) return that.hint('不在有效日期或时间范围内');
|
||||||
}
|
}
|
||||||
that.done();
|
|
||||||
that.setValue(that.parse()).remove()
|
that.setValue(that.parse()).remove()
|
||||||
|
that.done();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
active[type] && active[type]();
|
active[type] && active[type]();
|
||||||
|
|||||||
Reference in New Issue
Block a user