zhanghua
2022-11-16 cc9ddf2ecaf3ad935374f49c842227f7eb15779d
src/components/edit/index.vue
@@ -19,12 +19,12 @@
            '#4b9bb7',
            '#09152f'
        ]
        this.editor.config.onchange =(html)=>{
        this.editor.config.onchange = (html)=>{
            // 第二步,监控变化,同步更新到 textarea
            this.$emit('getMyBody',html);
            this.$emit('getMyBody', html);
        }
        this.editor.create();
      this.editor.create();
    },
    beforeDestroy() {
        this.editor.destroy();