mirror of https://github.com/layui/layui
修复一些小问题
parent
47c45ac4a3
commit
2a021c03c1
|
@ -1500,7 +1500,7 @@
|
|||
if(options.range && options.type !== 'time'){
|
||||
start = start || (that.rangeLinked ? that.startDate : options.dateTime);
|
||||
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({
|
||||
|
|
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue