Commit 6b13ffce authored by Pan's avatar Pan

fix:fix tinymce destroy bug

parent d20585a3
...@@ -127,7 +127,9 @@ export default { ...@@ -127,7 +127,9 @@ export default {
}) })
}, },
destroyTinymce() { destroyTinymce() {
if (window.tinymce.get(this.tinymceId)) {
window.tinymce.get(this.tinymceId).destroy() window.tinymce.get(this.tinymceId).destroy()
}
}, },
setContent(value) { setContent(value) {
window.tinymce.get(this.tinymceId).setContent(value) window.tinymce.get(this.tinymceId).setContent(value)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment