diff --git a/src/BootstrapBlazor/Components/Table/Table.js b/src/BootstrapBlazor/Components/Table/Table.js index 2e8c549f03787dd4e9061c5011d633ae2aabc869..a74ed9c5f96259f7fe05caadaa1d301d3bd29297 100644 --- a/src/BootstrapBlazor/Components/Table/Table.js +++ b/src/BootstrapBlazor/Components/Table/Table.js @@ -1,4 +1,4 @@ -(function ($) { +(function ($) { $.extend({ bb_table_search: function (el, obj, searchMethod, clearSearchMethod) { $(el).data('bb_table_search', { obj: obj, searchMethod, clearSearchMethod }); @@ -276,8 +276,8 @@ paginationHeight = 0; } var toolbarHeight = $ele.find('.table-toolbar:first').outerHeight(); - var bodyHeight = paginationHeight + toolbarHeight + searchHeight + 16; - if (bodyHeight > 16) { + var bodyHeight = paginationHeight + toolbarHeight + searchHeight; + if (bodyHeight > 0) { if (searchHeight > 0) { //记住历史height,用于展开搜索框时先设置一次高度 //再重新计算,避免高度超出父容器,出现滚动条 diff --git a/src/BootstrapBlazor/wwwroot/js/bootstrap.blazor.bundle.min.js b/src/BootstrapBlazor/wwwroot/js/bootstrap.blazor.bundle.min.js index c08542edcb4ebc118b26eb369d5b718a6d26f78b..0d3570d68d4dfcee4b36c791abc1ad01e95aad5a 100644 --- a/src/BootstrapBlazor/wwwroot/js/bootstrap.blazor.bundle.min.js +++ b/src/BootstrapBlazor/wwwroot/js/bootstrap.blazor.bundle.min.js @@ -13,4 +13,4 @@ var QRCode;!function(){function a(a){this.mode=c.MODE_8BIT_BYTE,this.data=a,this /*! Summernote v0.8.18 | (c) 2013- Alan Hong and other contributors | MIT license */ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("jquery"));else if("function"==typeof define&&define.amd)define(["jquery"],e);else{var n="object"==typeof exports?e(require("jquery")):e(t.jQuery);for(var o in n)("object"==typeof exports?exports:t)[o]=n[o]}}(self,(function(t){return(()=>{"use strict";var e={9458:e=>{e.exports=t}},n={};function o(t){var i=n[t];if(void 0!==i)return i.exports;var r=n[t]={exports:{}};return e[t](r,r.exports,o),r.exports}o.amdO={},o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{o.r(i);var t=o(9458),e=o.n(t);function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var n=0;n'),u=s('