fix: 恢复可选项目
This commit is contained in:
@@ -14,7 +14,7 @@ import dayjs, { Dayjs } from 'dayjs';
|
||||
import { z } from '#/adapter/form';
|
||||
import { getCustomerList } from '#/api/license/customer';
|
||||
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 { DictTag } from '#/components/dict-tag';
|
||||
import { $t } from '#/locales';
|
||||
@@ -79,7 +79,7 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
? getProjectList({
|
||||
customerId: values.customerId,
|
||||
})
|
||||
: getLicenseProjectList({
|
||||
: getProjectList({
|
||||
customerId: values.customerId,
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user