mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
fix tinymce bug
This commit is contained in:
parent
6a8a02f839
commit
cb0e889829
@ -47,7 +47,7 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
value(val) {
|
value(val) {
|
||||||
if (!this.hasChange && this.hasInit) {
|
if (!this.hasChange && this.hasInit) {
|
||||||
this.$nextTick(() => window.tinymce.get(this.id).setContent(val))
|
this.$nextTick(() => window.tinymce.get(this.tinymceId).setContent(val))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user