scorpio 2 yıl önce
ebeveyn
işleme
e228a92811
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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) {