|
@@ -307,17 +307,11 @@ const columns = [
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
-const curSelectionRows = ref([])
|
|
|
-const selectionChange = rows => {
|
|
|
- console.error('rows...', rows)
|
|
|
- curSelectionRows.value = rows
|
|
|
-}
|
|
|
-const { searchData, tableOpts, checkedColumns, activeColumns, updateParams } = useTablePage(
|
|
|
+
|
|
|
+const { searchData, tableOpts, checkedColumns, activeColumns, curSelectionRows, updateParams } = useTablePage(
|
|
|
{
|
|
|
options: {
|
|
|
- showIndex: false,
|
|
|
- // 多选变更
|
|
|
- onSelectionChange: selectionChange
|
|
|
+ showIndex: false
|
|
|
},
|
|
|
// 需要展示的列
|
|
|
columns,
|