From 4e376541d1da0a70ccb9a66b175b8e828c50e950 Mon Sep 17 00:00:00 2001 From: wenyann <64353056+wenyann@users.noreply.github.com> Date: Fri, 19 Feb 2021 18:27:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/list/ApiCaseSimpleList.vue | 31 +++++++------------ 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue index df76ae457b..07858871f7 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue @@ -163,13 +163,14 @@ import MsTableHeaderSelectPopover from "@/business/components/common/components/ import MsTableAdvSearchBar from "@/business/components/common/components/search/MsTableAdvSearchBar"; import {API_CASE_CONFIGS} from "@/business/components/common/components/search/search-components"; import {_filter, _handleSelect, _handleSelectAll, _sort,} from "@/common/js/tableUtils"; -import {API_CASE_LIST, TEST_CASE_LIST} from "@/common/js/constants"; -import {Api_Case_List, Track_Test_Case} from "@/business/components/common/model/JsonData"; +import {API_CASE_LIST, API_LIST, API_SCENARIO_LIST, TEST_CASE_LIST} from "@/common/js/constants"; +import {Api_Case_List, Api_List, Track_Test_Case} from "@/business/components/common/model/JsonData"; import HeaderCustom from "@/business/components/common/head/HeaderCustom"; export default { name: "ApiCaseSimpleList", components: { + ApiListContainerWithDoc, HeaderCustom, MsTableHeaderSelectPopover, MsSetEnvironment, @@ -181,28 +182,19 @@ export default { MsTablePagination, MsTag, MsApiCaseList, - name: "ApiCaseSimpleList", - components: { - MsTableHeaderSelectPopover, - MsSetEnvironment, - ApiCaseList, - PriorityTableItem, - ApiListContainerWithDoc, - MsTableOperatorButton, - MsTableOperator, - MsTablePagination, - MsTag, - MsApiCaseList, - MsContainer, - MsBottomContainer, - ShowMoreBtn, - MsBatchEdit, - MsApiCaseTableExtendBtns, + MsContainer, + MsBottomContainer, + ShowMoreBtn, + MsBatchEdit, + MsApiCaseTableExtendBtns, MsReferenceView, MsTableAdvSearchBar }, data() { return { + type: API_CASE_LIST, + headerItems: Api_Case_List, + tableLabel: Api_Case_List, condition: { components: API_CASE_CONFIGS }, @@ -636,7 +628,6 @@ export default { }); }, }, - }, }