[bugfix] DatetimePicker: incorrect value when use minMinute (#1724)

This commit is contained in:
neverland
2018-08-30 17:34:01 +08:00
committed by GitHub
parent dee56c75b7
commit 1471f6d5b5
3 changed files with 24 additions and 14 deletions

View File

@@ -32,8 +32,13 @@ function isAndroid() {
return isServer ? false : /android/.test(navigator.userAgent.toLowerCase());
}
function range(num, min, max) {
return Math.min(Math.max(num, min), max);
};
export {
get,
range,
isObj,
isDef,
isServer,