diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue index e6e2e60f96..60644d610d 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue @@ -208,7 +208,7 @@ import { _filter, _handleSelect, _handleSelectAll, - _sort, + _sort, deepClone, getLabel, getSelectDataCounts, setUnSelectIds, @@ -418,7 +418,8 @@ export default { }, methods: { customHeader() { - this.$refs.headerCustom.open(this.tableLabel); + const list = deepClone(this.tableLabel); + this.$refs.headerCustom.open(list); }, selectByParam() { this.changeSelectDataRangeAll(); 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 b938f5f17d..5ca1efd8c3 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue @@ -164,7 +164,7 @@ import {parseEnvironment} from "@/business/components/api/test/model/Environment import MsTableHeaderSelectPopover from "@/business/components/common/components/table/MsTableHeaderSelectPopover"; 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, getLabel} from "@/common/js/tableUtils"; +import {_filter, _handleSelect, _handleSelectAll, _sort, deepClone, getLabel} from "@/common/js/tableUtils"; import {API_CASE_LIST} from "@/common/js/constants"; import {Api_Case_List} from "@/business/components/common/model/JsonData"; import HeaderCustom from "@/business/components/common/head/HeaderCustom"; @@ -314,7 +314,8 @@ export default { }, methods: { customHeader() { - this.$refs.headerCustom.open(this.tableLabel) + const list = deepClone(this.tableLabel); + this.$refs.headerCustom.open(list); }, initTable() { if (this.$refs.caseTable) { diff --git a/frontend/src/business/components/track/case/components/TestCaseList.vue b/frontend/src/business/components/track/case/components/TestCaseList.vue index 5dc2b4cf22..d7d64bd5bc 100644 --- a/frontend/src/business/components/track/case/components/TestCaseList.vue +++ b/frontend/src/business/components/track/case/components/TestCaseList.vue @@ -177,7 +177,7 @@ import { _handleSelect, _handleSelectAll, _sort, - buildBatchParam, + buildBatchParam, deepClone, getLabel, getSelectDataCounts, initCondition, @@ -360,7 +360,8 @@ export default { } }, customHeader() { - this.$refs.headerCustom.open(this.tableLabel); + const list = deepClone(this.tableLabel); + this.$refs.headerCustom.open(list); }, getSelectDataRange() { let dataRange = this.$route.params.dataSelectRange; diff --git a/frontend/src/business/components/track/common/NodeTree.vue b/frontend/src/business/components/track/common/NodeTree.vue index 7a3f793898..f837669a78 100644 --- a/frontend/src/business/components/track/common/NodeTree.vue +++ b/frontend/src/business/components/track/common/NodeTree.vue @@ -31,7 +31,7 @@ - (0/{{ data.caseNum }}) + ({{ data.caseNum }})