!180 富文本编辑组件支持只读

Merge pull request !180 from JOSWAY/master
master
若依 4 years ago committed by Gitee
commit 78deee063d

@ -26,6 +26,11 @@ export default {
type: Number, type: Number,
default: null, default: null,
}, },
/* 只读 */
readOnly: {
type: Boolean,
default: false,
}
}, },
data() { data() {
return { return {
@ -51,7 +56,7 @@ export default {
], ],
}, },
placeholder: "请输入内容", placeholder: "请输入内容",
readOnly: false, readOnly: this.readOnly,
}, },
}; };
}, },

Loading…
Cancel
Save