mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
[bugfix] DatetimePicker: incorrect value when use minMinute (#1724)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user