|
|
|
@ -131,7 +131,7 @@
@@ -131,7 +131,7 @@
|
|
|
|
|
|
|
|
|
|
/** 处理多选框选中数据 */ |
|
|
|
|
function handleSelectionChange(selection?: Recordable) { |
|
|
|
|
const rowSelection = toRaw(selection?.keys); |
|
|
|
|
const rowSelection = toRaw(selection?.keys) || []; |
|
|
|
|
state.ids = rowSelection; |
|
|
|
|
state.single = rowSelection.length != 1; |
|
|
|
|
state.multiple = !rowSelection.length; |
|
|
|
|