From 757cc54560ed87962bc36218536aaa769680cc81 Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期五, 09 五月 2025 11:50:35 +0800 Subject: [PATCH] 项目课题方案审批对接口列表添加 --- laboratory/src/components/AiEditor/index.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/laboratory/src/components/AiEditor/index.vue b/laboratory/src/components/AiEditor/index.vue index c0bc236..9433983 100644 --- a/laboratory/src/components/AiEditor/index.vue +++ b/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() { -- Gitblit v1.7.1