Browse Source

整理代码

es6
guy 3 years ago
parent
commit
eee7b15a34
  1. 5
      src/base/single/0.single.js

5
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;

Loading…
Cancel
Save