diff --git a/frontend/src/api/modules/project-management/envManagement.ts b/frontend/src/api/modules/project-management/envManagement.ts index 54f0ae09ec..5c0285507d 100644 --- a/frontend/src/api/modules/project-management/envManagement.ts +++ b/frontend/src/api/modules/project-management/envManagement.ts @@ -79,8 +79,8 @@ export function groupDeleteEnv(data: EnvListItem) { return MSR.post({ url: envURL.groupDeleteEnvUrl, data }); } // 获取项目组的项目 -export function groupProjectEnv() { - return MSR.get({ url: envURL.groupProjectEnvUrl }); +export function groupProjectEnv(organizationId: string) { + return MSR.get({ url: envURL.groupProjectEnvUrl + organizationId }); } /** 项目管理-环境-全局参数-更新or新增 */ diff --git a/frontend/src/api/requrls/project-management/envManagement.ts b/frontend/src/api/requrls/project-management/envManagement.ts index f61dcce57e..10d12c6119 100644 --- a/frontend/src/api/requrls/project-management/envManagement.ts +++ b/frontend/src/api/requrls/project-management/envManagement.ts @@ -17,7 +17,7 @@ export const groupDetailEnvUrl = '/project/environment/group/get/'; export const groupDeleteEnvUrl = '/project/environment/group/delete/'; export const getEnvPluginUrl = '/project/environment/scripts/'; // 获取项目组的项目 -export const groupProjectEnvUrl = '/project/environment/group/get-project'; +export const groupProjectEnvUrl = '/project/environment/group/get-project/'; // 全局参数 export const updateGlobalParamUrl = '/project/global/params/update'; export const addGlobalParamUrl = '/project/global/params/add'; diff --git a/frontend/src/assets/style/global.less b/frontend/src/assets/style/global.less index b59e85c363..b6b21d7d05 100644 --- a/frontend/src/assets/style/global.less +++ b/frontend/src/assets/style/global.less @@ -95,3 +95,10 @@ body { background: rgb(var(--primary-6)); } } + +/* 评论组件的样式 */ +.ms-comment-child-container { + padding: 16px; + border: 0.5px solid var(--color-text-input-border); /* 设置近似 0.5px 的边框 */ + border-radius: 4px; +} diff --git a/frontend/src/components/business/ms-comment/comment-item.vue b/frontend/src/components/business/ms-comment/comment-item.vue index 5cc89fe841..6ec65098e6 100644 --- a/frontend/src/components/business/ms-comment/comment-item.vue +++ b/frontend/src/components/business/ms-comment/comment-item.vue @@ -51,18 +51,18 @@