vue里面解决ueditor显示的问题
初次initueditor渲染没有任何问题,但是用浏览器返回上一个路由。在回到initueditor的页面富文本不见了。。。无法进行编辑问题就是别人提的这个https://segmentfault.com/q/1010000011413233解决办法就是在mounted(){this.editor = UE.getEditor('editor',{...
·
初次init ueditor渲染没有任何问题,但是用浏览器返回上一个路由。在回到init ueditor的页面
富文本不见了。。。无法进行编辑
问题就是别人提的这个https://segmentfault.com/q/1010000011413233
解决办法就是在
mounted(){
this.editor = UE.getEditor('editor',{
BaseUrl: '',
UEDITOR_HOME_URL: 'static/utf8-jsp/',
// toolbars:[]
});
}
destroyed() {
this.editor.destroy();
},
还不懂的可以留言我解答…希望帮到大家
更多推荐
已为社区贡献4条内容
所有评论(0)