diff --git a/frontend/src/components/business/ms-menu/index.vue b/frontend/src/components/business/ms-menu/index.vue index b69f8feb78..e1b96681ca 100644 --- a/frontend/src/components/business/ms-menu/index.vue +++ b/frontend/src/components/business/ms-menu/index.vue @@ -394,17 +394,18 @@ class={['flex w-full items-center justify-between', collapsed.value ? 'h-[56px] w-[56px]' : '']} key="personalInfo" > - {collapsed.value ? ( -
- + { +
+ + {collapsed.value ? null : userStore.name}
- ) : ( -
- - {userStore.name} -
- )} - + } {collapsed.value ? null : } diff --git a/frontend/src/components/pure/ms-avatar/index.vue b/frontend/src/components/pure/ms-avatar/index.vue index a69fd4b9c5..e04bd64878 100644 --- a/frontend/src/components/pure/ms-avatar/index.vue +++ b/frontend/src/components/pure/ms-avatar/index.vue @@ -1,6 +1,6 @@ diff --git a/frontend/src/models/apiTest/mock.ts b/frontend/src/models/apiTest/mock.ts index dd2535701a..1b551b2fef 100644 --- a/frontend/src/models/apiTest/mock.ts +++ b/frontend/src/models/apiTest/mock.ts @@ -35,6 +35,7 @@ export interface MockResponse { useApiResponse: boolean; apiResponseId?: string; // useApiResponse 为 true 时必填 body: ResponseDefinitionBody; + delay: number; } // mock 信息-请求通用匹配规则 export interface MockMatchRuleCommon { diff --git a/frontend/src/views/api-test/components/config.ts b/frontend/src/views/api-test/components/config.ts index 56932425bb..b1e74b3c30 100644 --- a/frontend/src/views/api-test/components/config.ts +++ b/frontend/src/views/api-test/components/config.ts @@ -342,6 +342,7 @@ export const mockDefaultParams: MockParams = { sendAsBody: false, }, }, + delay: 0, }, apiDefinitionId: '', uploadFileIds: [], diff --git a/frontend/src/views/api-test/management/components/management/api/apiTable.vue b/frontend/src/views/api-test/management/components/management/api/apiTable.vue index 58893ec553..b705021e6e 100644 --- a/frontend/src/views/api-test/management/components/management/api/apiTable.vue +++ b/frontend/src/views/api-test/management/components/management/api/apiTable.vue @@ -112,6 +112,9 @@ +