From 5fd597275e33cd0e8ffbcbfbee101d03a62c31c7 Mon Sep 17 00:00:00 2001 From: zsmj Date: Wed, 9 Nov 2022 16:16:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=20revert=20commit=20c45e768,=20?= =?UTF-8?q?=E4=B8=8D=E6=98=AF=E5=AE=9E=E6=97=B6=E6=A0=A1=E9=AA=8C=E7=9A=84?= =?UTF-8?q?=E4=B8=80=E5=BE=8B=E4=B8=8D=E8=AE=B8=E7=94=A8=E6=B0=94=E6=B3=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/single/editor/editor.js | 5 ----- src/widget/editor/editor.text.js | 4 ---- 2 files changed, 9 deletions(-) diff --git a/src/base/single/editor/editor.js b/src/base/single/editor/editor.js index 95e863430..ac9e779e9 100644 --- a/src/base/single/editor/editor.js +++ b/src/base/single/editor/editor.js @@ -344,11 +344,6 @@ BI.Editor = BI.inherit(BI.Single, { return this.editor.isValid(); }, - setValid: function (b) { - this.editor.setValid(b); - this._checkError(); - }, - destroyed: function () { BI.Bubbles.remove(this.getName()); }, diff --git a/src/widget/editor/editor.text.js b/src/widget/editor/editor.text.js index 4525a2a7b..19f51fd73 100644 --- a/src/widget/editor/editor.text.js +++ b/src/widget/editor/editor.text.js @@ -138,10 +138,6 @@ BI.TextEditor = BI.inherit(BI.Widget, { return this.editor.isValid(); }, - setValid: function (b) { - this.editor.setValid(b); - }, - setValue: function (v) { this.editor.setValue(v); },