Skip to content

Commit

Permalink
fix: 修复富文本编辑器查看时没有被禁用的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
greper committed Jun 7, 2024
1 parent 3e51ac1 commit c88e1e9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ export default defineComponent({
const handleCreated = (editor: any) => {
editorRef.value = editor; // 记录 editor 实例,重要!
toggleEnabled(!props.readonly && !props.disabled);
ctx.emit("ready");
};
Expand Down

0 comments on commit c88e1e9

Please sign in to comment.