XW 7 months ago
parent
commit
8e4f74c231

+ 1 - 1
TEAMModelOS/ClientApp/src/components/student-web/EventView/EventContentTypeTemplate/composePaper.vue

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