chore: 改为全局参数配置 去除局部参数

This commit is contained in:
dap
2025-01-13 17:08:00 +08:00
parent 21dd7bd6c0
commit a9cae15d98
29 changed files with 14 additions and 42 deletions

View File

@@ -1,22 +1,20 @@
<script setup lang="ts">
import type { RadioChangeEvent } from 'ant-design-vue';
import type { VbenFormProps } from '@vben/common-ui';
import type { Recordable } from '@vben/types';
import type { VxeGridProps } from '#/adapter/vxe-table';
import { ref } from 'vue';
import { Page, useVbenModal, type VbenFormProps } from '@vben/common-ui';
import { Page, useVbenModal } from '@vben/common-ui';
import { $t } from '@vben/locales';
import { getVxePopupContainer } from '@vben/utils';
import {
Modal,
Popconfirm,
type RadioChangeEvent,
RadioGroup,
Space,
} from 'ant-design-vue';
import { Modal, Popconfirm, RadioGroup, Space } from 'ant-design-vue';
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
import { vxeCheckboxChecked } from '#/adapter/vxe-table';
import { useVbenVxeGrid, vxeCheckboxChecked } from '#/adapter/vxe-table';
import {
deleteByInstanceIds,
pageByFinish,
@@ -106,7 +104,6 @@ const gridOptions: VxeGridProps = {
},
},
rowConfig: {
isHover: true,
keyField: 'id',
height: 66,
},