chore: 漏掉的导入

This commit is contained in:
dap 2024-10-17 19:08:09 +08:00
parent bec201b95b
commit ef956a5507
5 changed files with 10 additions and 12 deletions

View File

@ -10,7 +10,7 @@ import { useUserStore } from '@vben/stores';
import { pick } from 'lodash-es';
import { useVbenForm, z } from '#/adapter';
import { useVbenForm, z } from '#/adapter/form';
import { userProfileUpdate } from '#/api/system/profile';
import { useAuthStore } from '#/store';
import { getDictOptions } from '#/utils/dict';
@ -74,7 +74,7 @@ const [BasicForm, formApi] = useVbenForm({
},
],
submitButtonOptions: {
text: '更新信息',
content: '更新信息',
},
});

View File

@ -4,7 +4,7 @@ import type { UpdatePasswordParam } from '#/api/system/profile/model';
import { Modal } from 'ant-design-vue';
import { omit } from 'lodash-es';
import { useVbenForm, z } from '#/adapter';
import { useVbenForm, z } from '#/adapter/form';
import { userUpdatePassword } from '#/api/system/profile';
import { useAuthStore } from '#/store';
@ -67,7 +67,7 @@ const [BasicForm, formApi] = useVbenForm({
},
],
submitButtonOptions: {
text: '修改密码',
content: '修改密码',
},
});

View File

@ -1,4 +1,5 @@
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
import type { FormSchemaGetter } from '#/adapter/form';
import type { VxeGridProps } from '#/adapter/vxe-table';
export const querySchema: FormSchemaGetter = () => [
{

View File

@ -1,4 +1,5 @@
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
import type { FormSchemaGetter } from '#/adapter/form';
import type { VxeGridProps } from '#/adapter/vxe-table';
export const querySchema: FormSchemaGetter = () => [
{

View File

@ -2,13 +2,9 @@
import { ref } from 'vue';
import { useRoute } from 'vue-router';
import { useVbenDrawer } from '@vben/common-ui';
import { useVbenDrawer, type VbenFormProps } from '@vben/common-ui';
import {
useVbenVxeGrid,
type VbenFormProps,
type VxeGridProps,
} from '#/adapter';
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
import { roleSelectAll, roleUnallocatedList } from '#/api/system/role';
import { columns, querySchema } from './data';