FlyFive
2020-10-26 2b9d46439fb9983fbde1de463af0c667f55b1eac
ruoyi-ui/src/components/Editor/index.vue
@@ -71,9 +71,9 @@
    value: {
      handler(val) {
        if (val !== this.currentValue) {
          this.currentValue = val;
          this.currentValue = val === null ? "" : val;
          if (this.Quill) {
            this.Quill.pasteHTML(this.value);
            this.Quill.pasteHTML(this.currentValue);
          }
        }
      },
@@ -114,7 +114,7 @@
</script>
<style>
.editor {
.editor, .ql-toolbar {
  white-space: pre-wrap!important;
  line-height: normal !important;
}