From eee7b15a34bdf580c4a0d80297f188cf55734df5 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 16 Sep 2021 13:52:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/single/0.single.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/base/single/0.single.js b/src/base/single/0.single.js index e12c726d1..1e9801a5d 100644 --- a/src/base/single/0.single.js +++ b/src/base/single/0.single.js @@ -13,6 +13,7 @@ BI.Single = BI.inherit(BI.Widget, { _defaultConfig: function () { var conf = BI.Single.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { + el: {}, readonly: false, title: null, warningTitle: null, @@ -22,6 +23,10 @@ BI.Single = BI.inherit(BI.Widget, { }); }, + render: function () { + return this.options.el; + }, + _showToolTip: function (e, opt) { opt || (opt = {}); var self = this, o = this.options;