Browse Source

!160 daterangepicker组件改进
Merge pull request !160 from 无木/master

Karson 6 years ago
parent
commit
d868c0fed3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/assets/js/require-form.js

+ 1 - 1
public/assets/js/require-form.js

@@ -208,7 +208,7 @@ define(['jquery', 'bootstrap', 'upload', 'validator'], function ($, undefined, U
                             $(this).on('cancel.daterangepicker', function (ev, picker) {
                                 $(this).val('').trigger('blur');
                             });
-                            $(this).daterangepicker($.extend({}, options, $(this).data()), callback);
+                            $(this).daterangepicker($.extend(true, options, $(this).data()), callback);
                         });
                     });
                 }