Browse Source

Pull request #2182: 无JIAR任务 优化一下

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '2b9e8c16fc31f94776a8eaacbae18a634cebb1cd':
  整理代码
es6
guy 3 years ago
parent
commit
0e340890a0
  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