diff --git a/WebContent/js/bootstrap-table.js b/WebContent/js/bootstrap-table.js index 4af0028..f5571fc 100644 --- a/WebContent/js/bootstrap-table.js +++ b/WebContent/js/bootstrap-table.js @@ -8,6 +8,8 @@ (global = global || self, global.BootstrapTable = factory(global.jQuery)); }(this, (function ($) { 'use strict'; + + // 如果传入的$对象有default属性,则取其default属性作为真正的$对象,否则直接使用传入的$对象 $ = $ && $.hasOwnProperty('default')? $['default'] : $;