作者 Karson
提交者 Gitee

!160 daterangepicker组件改进

Merge pull request !160 from 无木/master
@@ -208,7 +208,7 @@ define(['jquery', 'bootstrap', 'upload', 'validator'], function ($, undefined, U @@ -208,7 +208,7 @@ define(['jquery', 'bootstrap', 'upload', 'validator'], function ($, undefined, U
208 $(this).on('cancel.daterangepicker', function (ev, picker) { 208 $(this).on('cancel.daterangepicker', function (ev, picker) {
209 $(this).val('').trigger('blur'); 209 $(this).val('').trigger('blur');
210 }); 210 });
211 - $(this).daterangepicker($.extend({}, options, $(this).data()), callback); 211 + $(this).daterangepicker($.extend(true, options, $(this).data()), callback);
212 }); 212 });
213 }); 213 });
214 } 214 }