From de581d22143b2aa024161363d0e85383fbdf89d7 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Fri, 28 Jan 2022 13:34:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=B0tab=E9=A1=B5=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E4=BB=AA=E8=A1=A8=E6=9D=BF=E8=B7=B3=E8=BD=AC=E6=97=B6=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E4=B8=BA=E5=BD=93=E5=89=8D=E9=A1=B5=E9=9D=A2=E6=89=93?= =?UTF-8?q?=E5=BC=80=E7=9B=AE=E6=A0=87=E4=BB=AA=E8=A1=A8=E6=9D=BF=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E9=A1=B5=E9=9D=A2=E6=9C=AA=E5=88=B7=E6=96=B0=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/canvas/components/Editor/PreviewEject.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/components/canvas/components/Editor/PreviewEject.vue b/frontend/src/components/canvas/components/Editor/PreviewEject.vue index c742272618..12113d1d49 100644 --- a/frontend/src/components/canvas/components/Editor/PreviewEject.vue +++ b/frontend/src/components/canvas/components/Editor/PreviewEject.vue @@ -29,6 +29,11 @@ export default { } } }, + watch: { + '$route.params.reportId': function() { + this.restore() + } + }, mounted() { this.restore() },