mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-10 21:30:14 +08:00
Merge 3a1e103ead7cdc64a37d892efeb8f795793454d0 into f663b23b29c286ea99d746ec28ead39ade9de4c7
This commit is contained in:
commit
de2b0d6ace
@ -48,7 +48,8 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
value(val) {
|
value(val) {
|
||||||
if (!this.hasChange && this.hasInit) {
|
if (val == null) {val = ''}
|
||||||
|
if (this.hasInit) {
|
||||||
this.$nextTick(() => window.tinymce.get(this.tinymceId).setContent(val))
|
this.$nextTick(() => window.tinymce.get(this.tinymceId).setContent(val))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user