修复一些小问题

pull/1174/head
sunxiaobin89 2022-12-05 13:27:04 +08:00
parent 47c45ac4a3
commit 2a021c03c1
2 changed files with 2 additions and 2 deletions

View File

@ -1500,7 +1500,7 @@
if(options.range && options.type !== 'time'){ if(options.range && options.type !== 'time'){
start = start || (that.rangeLinked ? that.startDate : options.dateTime); start = start || (that.rangeLinked ? that.startDate : options.dateTime);
end = end || that.endDate; end = end || that.endDate;
isOut = that.newDate(start).getTime() > that.newDate(end).getTime(); isOut = !that.endState || that.newDate(start).getTime() > that.newDate(end).getTime();
//如果不在有效日期内,直接禁用按钮,否则比较开始和结束日期 //如果不在有效日期内,直接禁用按钮,否则比较开始和结束日期
(that.limit({ (that.limit({

View File

@ -298,7 +298,7 @@ layui.define('jquery', function(exports){
}; };
//动态赋值 //动态赋值
if(setValue === 'set') return change(value, i, 'done'); if(setValue === 'set') return change(value - options.min, i, 'done');
//滑块滑动 //滑块滑动
sliderAct.find('.' + SLIDER_WRAP_BTN).each(function(index){ sliderAct.find('.' + SLIDER_WRAP_BTN).each(function(index){