chore: 漏掉的导入
This commit is contained in:
parent
bec201b95b
commit
ef956a5507
@ -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: '更新信息',
|
||||
},
|
||||
});
|
||||
|
||||
|
@ -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: '修改密码',
|
||||
},
|
||||
});
|
||||
|
||||
|
@ -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 = () => [
|
||||
{
|
||||
|
@ -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 = () => [
|
||||
{
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user