scorpio 2 tahun lalu
induk
melakukan
e228a92811
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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) {