fix: 恢复可选项目

This commit is contained in:
caiyuchao
2025-08-27 16:25:19 +08:00
parent 097305072b
commit f0e747c713

View File

@@ -14,7 +14,7 @@ import dayjs, { Dayjs } from 'dayjs';
import { z } from '#/adapter/form'; import { z } from '#/adapter/form';
import { getCustomerList } from '#/api/license/customer'; import { getCustomerList } from '#/api/license/customer';
import { isLicenseSnUnique } from '#/api/license/license'; import { isLicenseSnUnique } from '#/api/license/license';
import { getLicenseProjectList, getProjectList } from '#/api/license/project'; import { getProjectList } from '#/api/license/project';
import { getLicenseAdminList, getSimpleUserList } from '#/api/system/user'; import { getLicenseAdminList, getSimpleUserList } from '#/api/system/user';
import { DictTag } from '#/components/dict-tag'; import { DictTag } from '#/components/dict-tag';
import { $t } from '#/locales'; import { $t } from '#/locales';
@@ -79,7 +79,7 @@ export function useFormSchema(): VbenFormSchema[] {
? getProjectList({ ? getProjectList({
customerId: values.customerId, customerId: values.customerId,
}) })
: getLicenseProjectList({ : getProjectList({
customerId: values.customerId, customerId: values.customerId,
})); }));