HaoRan
2020-08-31 a65c28707599e31689cca650dde5bb40546bc2f8
修复Editor组件无法对响应式更新null值问题
已修改1个文件
4 ■■■■ 文件已修改
ruoyi-ui/src/components/Editor/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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);
          }
        }
      },