From 0152880a5e19a1c4d387aa33bcba04f317a309eb Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Wed, 7 Jun 2023 16:50:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E5=88=97=E8=A1=A8=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=88=97=E9=80=89=E6=8B=A9=E5=90=8E=E5=88=B7=E6=96=B0=E5=A4=B1?= =?UTF-8?q?=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1026586 --user=宋昌昌 【测试跟踪】github#24653,调整用例列表的选项展示顺序,刷新页面之后会恢复到调整之前 https://www.tapd.cn/55049933/s/1379524 --- .../src/business/case/components/TestCaseList.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test-track/frontend/src/business/case/components/TestCaseList.vue b/test-track/frontend/src/business/case/components/TestCaseList.vue index 5aa0215c15..10d4928838 100644 --- a/test-track/frontend/src/business/case/components/TestCaseList.vue +++ b/test-track/frontend/src/business/case/components/TestCaseList.vue @@ -651,6 +651,15 @@ export default { name: this.$t('commons.tag') }) getCustomFieldBatchEditOption(template.customFields, this.typeArr, this.valueArr, this.members); + this.$nextTick(() => { + if (this.$refs.table) { + this.$refs.table.resetHeader(() => { + this.loading = false; + }); + } else { + this.loading = false; + } + }); }); }, checkCurrentProject() {