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: '修改密码',
},
});