From 5494ec36e514fe53334ff175782c2a512b4cbb87 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 09 三月 2021 09:32:49 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/y_project/RuoYi-Vue --- ruoyi-ui/src/components/Editor/index.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/components/Editor/index.vue b/ruoyi-ui/src/components/Editor/index.vue index 77c3062..ba2ea73 100644 --- a/ruoyi-ui/src/components/Editor/index.vue +++ b/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, }, }; }, -- Gitblit v1.9.3