From d857ec7a3906bcfb308c619cdc53c9b001c49f83 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Mon, 24 Apr 2023 14:40:57 +0800 Subject: [PATCH] =?UTF-8?q?[issues/19]=E7=BC=93=E5=AD=98=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E9=A1=B5=E9=9D=A2=E4=B8=AD=E5=AF=8C=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E7=BB=84=E4=BB=B6=E4=BC=9A=E5=87=BA=E7=8E=B0=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E7=BC=96=E8=BE=91=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/jeecg/JEditor.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/jeecg/JEditor.vue b/src/components/jeecg/JEditor.vue index 9178035..77c76c5 100644 --- a/src/components/jeecg/JEditor.vue +++ b/src/components/jeecg/JEditor.vue @@ -163,7 +163,14 @@ }else{ this.$emit('input', newValue) } + }, + //update--begin--autor:liusq-----date:20230420------for:[issues/19]缓存路由后,页面中富文本组件会出现无法编辑的问题------ + '$route': function(newRoute) { + if(this.$route.meta.keepAlive && this.$route.meta.componentName){ + this.reload() + } } + //update--end--autor:liusq-----date:20230420------for:[issues/19]缓存路由后,页面中富文本组件会出现无法编辑的问题------ } }