Explorar o código

采购需求处理表格行选中

黄梓星 hai 1 ano
pai
achega
d7c014bc5e
Modificáronse 1 ficheiros con 1 adicións e 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"/>