mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Pre Merge pull request !39 from songyang/v6
This commit is contained in:
commit
2930ff4789
@ -279,6 +279,18 @@ $(function () {
|
||||
$(this.elem).val(value).trigger('change');
|
||||
}
|
||||
});
|
||||
}), $dom.find('input[data-time-range]').map(function () {
|
||||
this.setAttribute('autocomplete', 'off'), laydate.render({
|
||||
type: this.dataset.timeRange || 'time', range: true, elem: this, done: function (value) {
|
||||
$(this.elem).val(value).trigger('change');
|
||||
}
|
||||
});
|
||||
}), $dom.find('input[data-time-input]').map(function () {
|
||||
this.setAttribute('autocomplete', 'off'), laydate.render({
|
||||
type: this.dataset.timeInput || 'time', range: false, elem: this, done: function (value) {
|
||||
$(this.elem).val(value).trigger('change');
|
||||
}
|
||||
});
|
||||
}), $dom;
|
||||
};
|
||||
/*! 在内容区显示视图 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user