增加点击“确定”按钮confirm回调函数

pull/80/head
pangjunpeng 2018-12-20 15:48:24 +08:00
parent bfc0c1bf6d
commit ddef92a174
2 changed files with 2 additions and 2 deletions

2
dist/laydate.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1631,7 +1631,7 @@
} else {
if(lay(btn).hasClass(DISABLED)) return that.hint('不在有效日期或时间范围内');
}
that.done();
that.done(null, 'confirm');
that.setValue(that.parse()).remove()
}
};