From 464f4be63bf612ef0bf3dce3bcda1fdbc2d1ceff Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 31 Aug 2020 14:21:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20sign=5Feditor?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=98=BE=E7=A4=BA=E5=80=BC=E5=B1=85=E5=B7=A6?= =?UTF-8?q?/=E5=B1=85=E4=B8=AD/=E5=B1=85=E5=8F=B3=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 1 + src/case/editor/editor.sign.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index e81bc4359..4865f27b5 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,6 @@ # 更新日志 2.0(2020-08) +- bi.sign_editor支持显示值居左/居中/居右显示 - bi.iframe新增EVENT_LOADED事件 - 修复了searcher在允许搜索的情况下输入空格直接退出搜索的问题 - 修复了复选下拉系列'点按空格添加完全匹配项'添加的是显示值而非实际值的问题 diff --git a/src/case/editor/editor.sign.js b/src/case/editor/editor.sign.js index 53b1339b7..e71efc3bf 100644 --- a/src/case/editor/editor.sign.js +++ b/src/case/editor/editor.sign.js @@ -20,6 +20,7 @@ BI.SignEditor = BI.inherit(BI.Widget, { allowBlank: true, watermark: "", errorText: "", + textAlign: "left", height: 24 }); }, @@ -49,7 +50,7 @@ BI.SignEditor = BI.inherit(BI.Widget, { title: o.title, warningTitle: o.warningTitle, tipType: o.tipType, - textAlign: "left", + textAlign: o.textAlign, height: o.height, hgap: o.hgap, handler: function () {