update public/assets/js/require-form.js.

指向同一个options了,后面时间区间组件初始化用的配置受到前面的干扰了

Signed-off-by: SiGool <sigool@sina.com>
pull/451/head
SiGool 2023-08-04 03:07:40 +00:00 committed by Gitee
parent 3831955b9b
commit db510531f4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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") || {}));
});
});
}