Explorar el Código

采购需求处理表格行选中

黄梓星 hace 1 año
padre
commit
d7c014bc5e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/purchase/DemandSummary/index.vue

+ 1 - 1
src/views/purchase/DemandSummary/index.vue

@@ -255,9 +255,9 @@
           :cell-class-name="cellClassName"
           @checkbox-all="selectAllEvent"
           @checkbox-change="handleSelectionChange"
-          @cell-click="rowSelect"
           @cell-dblclick="doubleClick"
           ref="table"
+          :checkbox-config="{trigger:'row', highlight: true, range: true}"
           :column-config="{resizable: true}"
         >
           <vxe-column type="checkbox" width="40" fixed="left"/>