diff --git a/system-setting/frontend/src/api/project.js b/system-setting/frontend/src/api/project.js index 37aa0e7ba4..18f972646a 100644 --- a/system-setting/frontend/src/api/project.js +++ b/system-setting/frontend/src/api/project.js @@ -47,13 +47,13 @@ export function getAllServiceIntegration() { } export function getFieldTemplateCaseOption(projectId) { - return get(`/project/field/template/case/option/${projectId}`); + return get(projectId ? `/project/field/template/case/option/${projectId}` : `/project/field/template/case/option`); } export function getFieldTemplateIssueOption(projectId) { - return get(`/project/field/template/issue/option/${projectId}`); + return get(projectId ? `/project/field/template/issue/option/${projectId}` : `/project/field/template/issue/option`); } export function getFieldTemplateApiOption(projectId) { - return get(`/project/field/template/api/option/${projectId}`); + return get(projectId ? `/project/field/template/api/option/${projectId}` : `/project/field/template/api/option`); } diff --git a/system-setting/frontend/src/business/common/AddMember.vue b/system-setting/frontend/src/business/common/AddMember.vue index 0cd06a914b..a9aec5dc2b 100644 --- a/system-setting/frontend/src/business/common/AddMember.vue +++ b/system-setting/frontend/src/business/common/AddMember.vue @@ -100,7 +100,7 @@ export default { userResourceUrl: { type: String, default() { - return '/user/list/'; + return '/user/list'; } } },