ソースを参照

Added data attribute support for ignoreClickToSelectOn option

zhixin 6 年 前
コミット
eccd7c94cf
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -1936,7 +1936,7 @@
           type === 'click' &&
           this.options.clickToSelect &&
           column.clickToSelect &&
-          !this.options.ignoreClickToSelectOn(target)
+          !Utils.calculateObjectValue(this.options, this.options.ignoreClickToSelectOn, [target])
         ) {
           const $selectItem = $tr.find(Utils.sprintf('[name="%s"]', this.options.selectItemName))
           if ($selectItem.length) {