diff --git a/frontend/src/api/modules/bug-management/index.ts b/frontend/src/api/modules/bug-management/index.ts index 4e4cc1e319..66b6699507 100644 --- a/frontend/src/api/modules/bug-management/index.ts +++ b/frontend/src/api/modules/bug-management/index.ts @@ -2,7 +2,7 @@ import MSR from '@/api/http/index'; import * as bugURL from '@/api/requrls/bug-management'; import { BugListItem } from '@/models/bug-management'; -import { CommonList, TableQueryParams } from '@/models/common'; +import { CommonList, TableQueryParams, TemplateOption } from '@/models/common'; /** * 表格的查询 @@ -33,8 +33,8 @@ export function deleteBatchBug(data: TableQueryParams) { return MSR.post({ url: bugURL.postBatchDeleteBugUrl, data }); } -export function getTemplageOption(data: TableQueryParams) { - return MSR.get({ url: bugURL.getTemplageOption, data }); +export function getTemplageOption(params: { projectId: string }) { + return MSR.get({ url: bugURL.getTemplageOption, params }); } export function getTemplateById(data: TableQueryParams) { diff --git a/frontend/src/api/requrls/bug-management.ts b/frontend/src/api/requrls/bug-management.ts index ae360e0e78..5d61bf5370 100644 --- a/frontend/src/api/requrls/bug-management.ts +++ b/frontend/src/api/requrls/bug-management.ts @@ -5,4 +5,4 @@ export const postCreateBugUrl = '/bug/add'; export const getDeleteBugUrl = '/bug/delete/'; export const postBatchDeleteBugUrl = '/bug/batch-delete'; export const getTemplateUrl = '/bug/template'; -export const getTemplageOption = '/bug/template-option'; +export const getTemplageOption = '/bug/template/option'; diff --git a/frontend/src/components/pure/ms-card/index.vue b/frontend/src/components/pure/ms-card/index.vue index 5b9ba87793..abfdb0d7a5 100644 --- a/frontend/src/components/pure/ms-card/index.vue +++ b/frontend/src/components/pure/ms-card/index.vue @@ -26,7 +26,9 @@ - +
+ +
@@ -86,6 +88,7 @@ isFullscreen?: boolean; // 是否全屏 hideDivider?: boolean; // 是否隐藏分割线 handleBack: () => void; // 自定义返回按钮触发事件 + dividerHasPX: boolean; // 分割线是否有左右padding; }> >(), { @@ -99,6 +102,7 @@ hasBreadcrumb: false, noContentPadding: false, noBottomRadius: false, + dividerHasPX: false, } ); diff --git a/frontend/src/components/pure/ms-rich-text/MsRichText.vue b/frontend/src/components/pure/ms-rich-text/MsRichText.vue index 970b52b7db..42fc7efa2e 100644 --- a/frontend/src/components/pure/ms-rich-text/MsRichText.vue +++ b/frontend/src/components/pure/ms-rich-text/MsRichText.vue @@ -1,10 +1,17 @@ diff --git a/frontend/src/components/pure/ms-upload/fileList.vue b/frontend/src/components/pure/ms-upload/fileList.vue index 5c5d7e08c7..e6d10b647d 100644 --- a/frontend/src/components/pure/ms-upload/fileList.vue +++ b/frontend/src/components/pure/ms-upload/fileList.vue @@ -1,5 +1,8 @@