laboratory/src/components/AiEditor/index.vue
@@ -60,10 +60,14 @@ }, immediate: true }, readOnly(newVal) { if (this.editor) { this.editor.setReadOnly(newVal) } readOnly: { handler(newVal) { console.log('readOnly', newVal) if (this.editor) { this.editor.setReadOnly(newVal) } }, immediate: true } }, mounted() {