vsyswin-ui 0.2.83 → 0.2.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/vsyswin-ui.common.js +73306 -68477
- package/lib/vsyswin-ui.common.js.map +1 -1
- package/lib/vsyswin-ui.umd.js +73316 -68487
- package/lib/vsyswin-ui.umd.js.map +1 -1
- package/lib/vsyswin-ui.umd.min.js +319 -319
- package/lib/vsyswin-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/packages/table/src/table.vue +9 -3
package/package.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
:expand-row-keys="expandRowKeys"
|
|
21
21
|
@sort-change="handleSortChange"
|
|
22
22
|
@selection-change="handleSelectionChange"
|
|
23
|
+
@select-all="handleSelectAll"
|
|
23
24
|
@select="handleSelect"
|
|
24
25
|
@expand-change="handleExpandChange"
|
|
25
26
|
@header-dragend="handleHeaderDragend"
|
|
@@ -432,9 +433,14 @@ export default {
|
|
|
432
433
|
this.selection = selection;
|
|
433
434
|
this.$emit('selection-change', selection);
|
|
434
435
|
},
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
436
|
+
// 当用户手动勾选全选 Checkbox 时触发的事件
|
|
437
|
+
handleSelectAll (selection) {
|
|
438
|
+
this.$emit('select-all', selection);
|
|
439
|
+
},
|
|
440
|
+
// 当用户手动勾选数据行的 Checkbox 时触发的事件
|
|
441
|
+
handleSelect (selection, row) {
|
|
442
|
+
this.$emit('select', selection, row);
|
|
443
|
+
},
|
|
438
444
|
// 表格行展开事件
|
|
439
445
|
handleExpandChange (row, value) {
|
|
440
446
|
this.$emit('expand-change', row, value);
|