浏览代码

fix search

scorpio 2 年之前
父节点
当前提交
e228a92811
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/resource/component/xtable.vue

+ 1 - 1
src/views/resource/component/xtable.vue

@@ -262,7 +262,7 @@ export default {
         return
       }
       // 未显示选择按钮的情况下,点击调用row-click
-      if (this.showCheckBox === false) {
+      if (this.showCheckBox === false && row.type === 2) {
         this.$emit('row-click', row)
       } else {
         if (this.showMenu === false && row.type === 2) {