diff --git a/changelog.md b/changelog.md index e81bc43594..4865f27b5c 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 53b1339b7e..e71efc3bf6 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 () {