|
|
@@ -115,7 +115,17 @@ const gridOptions: VxeGridProps<any> = {
|
|
|
],
|
|
|
};
|
|
|
|
|
|
-const [Grid, gridApi] = useVbenVxeGrid({ gridOptions, formOptions });
|
|
|
+const gridEvents: VxeGridListeners<RowType> = {
|
|
|
+ cellDblclick: ({ row }) => {
|
|
|
+ handleDetail(row);
|
|
|
+ },
|
|
|
+};
|
|
|
+
|
|
|
+const [Grid, gridApi] = useVbenVxeGrid({
|
|
|
+ gridEvents,
|
|
|
+ gridOptions,
|
|
|
+ formOptions,
|
|
|
+});
|
|
|
|
|
|
const [Modal, modalApi] = useVbenModal({
|
|
|
fullscreenButton: false,
|