RuoYi
2021-03-07 0922410a22a16f54f9b1271ebe37c244a7d3bf27
ruoyi-ui/src/components/Editor/index.vue
@@ -26,6 +26,11 @@
      type: Number,
      default: null,
    },
    /* 只读 */
    readOnly: {
      type: Boolean,
      default: false,
    }
  },
  data() {
    return {
@@ -51,7 +56,7 @@
          ],
        },
        placeholder: "请输入内容",
        readOnly: false,
        readOnly: this.readOnly,
      },
    };
  },
@@ -192,4 +197,4 @@
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="monospace"]::before {
  content: "等宽字体";
}
</style>
</style>