Pre Merge pull request !39 from songyang/v6

This commit is contained in:
songyang 2023-05-23 08:55:51 +00:00 committed by Gitee
commit 2930ff4789
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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;
};
/*! 在内容区显示视图 */