mirror of https://gitee.com/karson/fastadmin.git
update public/assets/js/require-form.js.
指向同一个options了,后面时间区间组件初始化用的配置受到前面的干扰了 Signed-off-by: SiGool <sigool@sina.com>pull/451/head
parent
3831955b9b
commit
db510531f4
|
|
@ -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") || {}));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue