浏览代码

Merge pull request #6275 from wenzhixin/fix/6274

fix/6274
文翼 3 年之前
父节点
当前提交
afd10f203f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/extensions/multiple-sort/bootstrap-table-multiple-sort.js

+ 1 - 1
src/extensions/multiple-sort/bootstrap-table-multiple-sort.js

@@ -584,7 +584,7 @@ BootstrapTable.prototype.initToolbar = function (...args) {
     that.onMultipleSort()
   }
 
-  if (this.options.showMultiSortButton) {
+  if (this.options.showMultiSort && this.options.showMultiSortButton) {
     this.buttons = Object.assign(this.buttons, {
       multipleSort: {
         html: Utils.sprintf(theme.html.multipleSortButton,