修复重置日期时出现的异常问题(I8PZFA)

pull/479/MERGE
RuoYi 2024-01-09 15:45:40 +08:00
parent 192c0c5241
commit 8c8d53a9cc
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ $(function() {
}); });
// laydate 时间控件绑定 // laydate 时间控件绑定
if ($(".select-time").length > 0) { if ($(".select-time").length > 0 && $('#startTime').length > 0 && $('#endTime').length > 0) {
layui.use('laydate', function() { layui.use('laydate', function() {
var laydate = layui.laydate; var laydate = layui.laydate;
startLayDate = laydate.render({ startLayDate = laydate.render({