From 174967d014ac7e002e4dcb39580e581a1dd5babe Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Tue, 12 Nov 2019 18:50:34 +0800 Subject: [PATCH] =?UTF-8?q?BI-55554=20fix:=20shelter=5Feditor=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E5=90=8C=E6=AD=A5signeditor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/editor/editor.shelter.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/case/editor/editor.shelter.js b/src/case/editor/editor.shelter.js index daf06a673..0962e74d0 100644 --- a/src/case/editor/editor.shelter.js +++ b/src/case/editor/editor.shelter.js @@ -137,7 +137,6 @@ BI.ShelterEditor = BI.inherit(BI.Widget, { }); this._showHint(); self._checkText(); - BI.isKey(o.keyword) && this.text.doRedMark(o.keyword); }, _checkText: function () { @@ -149,6 +148,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, { this.text.setValue(this.editor.getValue()); this.text.element.removeClass("bi-water-mark"); } + BI.isKey(o.keyword) && this.text.doRedMark(o.keyword); }, _showInput: function () { @@ -239,7 +239,6 @@ BI.ShelterEditor = BI.inherit(BI.Widget, { var o = this.options; this.editor.setValue(k); this._checkText(); - BI.isKey(o.keyword) && this.text.doRedMark(o.keyword); }, getValue: function () {