Browse Source

无JRIA tab在single:true状态下支持keepAlive

es6
zsmj 3 years ago
parent
commit
bc81cb3714
  1. 4
      src/base/combination/tab.js

4
src/base/combination/tab.js

@ -85,8 +85,8 @@ BI.Tab = BI.inherit(BI.Widget, {
_keepAlive: function (v) { _keepAlive: function (v) {
var o = this.options; var o = this.options;
var keepAlives = BI.isFunction(o.keepAlives) ? o.keepAlives() : o.keepAlives; return BI.isFunction(o.keepAlives) ? o.keepAlives(v) : BI.contains(o.keepAlives, v);
return BI.contains(keepAlives, v);
}, },
created: function () { created: function () {

Loading…
Cancel
Save