From f5d7e14a7b4d9794acfe68bc9237900b43e81251 Mon Sep 17 00:00:00 2001 From: Wangder03 Date: Sun, 15 Dec 2024 00:36:42 +0800 Subject: [PATCH] wangd --- WebContent/js/bootstrap-table.js | 2 ++ 1 file changed, 2 insertions(+) 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'] : $;