Skip to content

Commit

Permalink
[issues/19]缓存路由后,页面中富文本组件会出现无法编辑的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangdaiscott committed Apr 24, 2023
1 parent c99bf85 commit d857ec7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/jeecg/JEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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]缓存路由后,页面中富文本组件会出现无法编辑的问题------
}
}
Expand Down

0 comments on commit d857ec7

Please sign in to comment.