refactor(接口测试): 结果部分调整

This commit is contained in:
fit2-zhao 2024-12-06 17:46:24 +08:00 committed by Craftsman
parent ac1c3a9db7
commit 233e2e973b
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@
</div> </div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane v-if="activeName == 'body'" :disabled="true" name="mode" class="pane assertions"> <el-tab-pane v-if="activeName === 'body'" :disabled="true" name="mode" class="pane assertions">
<template v-slot:label> <template v-slot:label>
<ms-dropdown <ms-dropdown
v-if="request.method === 'SQL'" v-if="request.method === 'SQL'"
@ -65,7 +65,7 @@
import MsAssertionResults from './AssertionResults'; import MsAssertionResults from './AssertionResults';
import MsCodeEdit from 'metersphere-frontend/src/components/MsCodeEdit'; import MsCodeEdit from 'metersphere-frontend/src/components/MsCodeEdit';
import MsDropdown from '../../../../business/commons/MsDropdown'; import MsDropdown from '../../../../business/commons/MsDropdown';
import { BODY_FORMAT, RequestFactory, Request, SqlRequest } from '../../../../business/definition/model/ApiTestModel'; import { BODY_FORMAT, RequestFactory } from '@/business/definition/model/ApiTestModel';
import MsSqlResultTable from './SqlResultTable'; import MsSqlResultTable from './SqlResultTable';
export default { export default {

View File

@ -68,7 +68,7 @@
ref="codeEdit" /> ref="codeEdit" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane v-if="activeName == 'body'" :disabled="true" name="mode" class="pane cookie"> <el-tab-pane v-if="activeName === 'body'" :disabled="true" name="mode" class="pane cookie">
<template v-slot:label> <template v-slot:label>
<ms-dropdown <ms-dropdown
v-if="currentProtocol === 'SQL'" v-if="currentProtocol === 'SQL'"