|
@@ -118,7 +118,7 @@ export default {
|
|
},
|
|
},
|
|
initEditor() {
|
|
initEditor() {
|
|
this.editorContent = ""
|
|
this.editorContent = ""
|
|
- let editor = new E(this.$refs.composeEditor)
|
|
|
|
|
|
+ let editor = new E(this.$refs['composeEditor' + this.index])
|
|
editor.config.onchange = (html) => {
|
|
editor.config.onchange = (html) => {
|
|
this.editorContent = html
|
|
this.editorContent = html
|
|
}
|
|
}
|