Browse Source

针对移动端rem进行适配

es6
guy 4 years ago
parent
commit
73ea773751
  1. 2
      src/core/widget.js

2
src/core/widget.js

@ -44,7 +44,7 @@
_constructed: function () { _constructed: function () {
if (this.setup) { if (this.setup) {
pushTarget(this); pushTarget(this);
this.service = this.setup(); this.service = this.setup(this.options);
this.render = BI.isPlainObject(this.service) ? this.service.render : this.service; this.render = BI.isPlainObject(this.service) ? this.service.render : this.service;
popTarget(); popTarget();
} }

Loading…
Cancel
Save