fix: 恢复可选项目
This commit is contained in:
@@ -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,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user