From c0e9effe1558d7993b9ad438ef0cc4a47facb1b9 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Mon, 4 Apr 2022 15:06:11 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E5=85=A8=E9=80=89=E6=97=B6=E7=9A=84=E5=93=8D=E5=BA=94?= =?UTF-8?q?=E9=80=9F=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/components/table/MsTable.vue | 4 +- .../track/case/components/ShowMoreBtn.vue | 134 +++++++++--------- 2 files changed, 70 insertions(+), 68 deletions(-) diff --git a/frontend/src/business/components/common/components/table/MsTable.vue b/frontend/src/business/components/common/components/table/MsTable.vue index 9f3cf83e1c..dbbb52763c 100644 --- a/frontend/src/business/components/common/components/table/MsTable.vue +++ b/frontend/src/business/components/common/components/table/MsTable.vue @@ -307,7 +307,9 @@ export default { initData(){ //初始化数据是否显示提示块 if(this.data && this.data.length > 0){ - this.data[0].showBatchTip = true; + this.$nextTick(() => { + this.data[0].showBatchTip = true; + }); } }, // 批量操作提示, 第一次勾选提示, 之后不提示 diff --git a/frontend/src/business/components/track/case/components/ShowMoreBtn.vue b/frontend/src/business/components/track/case/components/ShowMoreBtn.vue index 85ff560faf..210c1a7b1c 100644 --- a/frontend/src/business/components/track/case/components/ShowMoreBtn.vue +++ b/frontend/src/business/components/track/case/components/ShowMoreBtn.vue @@ -1,18 +1,20 @@