Compare commits

...

2 Commits

Author SHA1 Message Date
Karson afa636ba15
!451 update public/assets/js/require-form.js.
Merge pull request !451 from SiGool/N/A
2024-03-15 03:48:38 +00:00
SiGool db510531f4
update public/assets/js/require-form.js.
指向同一个options了,后面时间区间组件初始化用的配置受到前面的干扰了

Signed-off-by: SiGool <sigool@sina.com>
2023-08-04 03:07:40 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ define(['jquery', 'bootstrap', 'upload', 'validator', 'validator-lang'], functio
$(this).on('cancel.daterangepicker', function (ev, picker) {
$(this).val('').trigger('change');
});
$(this).daterangepicker($.extend(true, options, $(this).data() || {}, $(this).data("daterangepicker-options") || {}));
$(this).daterangepicker($.extend(true, {}, options, $(this).data() || {}, $(this).data("daterangepicker-options") || {}));
});
});
}