From b5c3206088490e793b3cb66f01c4fe2167da15f2 Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 12 Sep 2020 23:44:00 +0800 Subject: [PATCH] bugfix --- src/base/single/label/label.js | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/base/single/label/label.js b/src/base/single/label/label.js index 101fdeb3d..37129087c 100644 --- a/src/base/single/label/label.js +++ b/src/base/single/label/label.js @@ -10,21 +10,6 @@ BI.Label = BI.inherit(BI.AbstractLabel, { keyword: "" }, - _createJson: function () { - var o = this.options; - return { - type: "bi.text", - textAlign: o.textAlign, - whiteSpace: o.whiteSpace, - lineHeight: o.textHeight, - text: o.text, - value: o.value, - py: o.py, - keyword: o.keyword, - highLight: o.highLight - }; - }, - doRedMark: function () { this.text.doRedMark.apply(this.text, arguments); }, @@ -34,4 +19,4 @@ BI.Label = BI.inherit(BI.AbstractLabel, { } }); -BI.shortcut("bi.label", BI.Label); \ No newline at end of file +BI.shortcut("bi.label", BI.Label);