Browse Source

针对移动端rem进行适配

es6
guy 4 years ago
parent
commit
878d319022
  1. 3
      src/base/single/single.js

3
src/base/single/single.js

@ -13,7 +13,6 @@ BI.Single = BI.inherit(BI.Widget, {
_defaultConfig: function () { _defaultConfig: function () {
var conf = BI.Single.superclass._defaultConfig.apply(this, arguments); var conf = BI.Single.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, { return BI.extend(conf, {
_baseCls: (conf._baseCls || "") + " bi-single",
readonly: false, readonly: false,
title: null, title: null,
warningTitle: null, warningTitle: null,
@ -207,4 +206,4 @@ BI.Single = BI.inherit(BI.Widget, {
} }
BI.Tooltips.remove(this.getName()); BI.Tooltips.remove(this.getName());
}, },
}); });

Loading…
Cancel
Save