Browse Source

Merge pull request #222 in ~GUY/fineui from ~YOUNG/fineuig:master to master

* commit '0812d66d87e8276bc2ed96421903cfe7334a6a6c':
  store直接使用model数据时无destroy方法
es6
Young 7 years ago
parent
commit
f95e2b9f0b
  1. 1
      demo/js/fix-2.0/scene.js
  2. 1
      dist/demo.js
  3. 2
      dist/fix/fix.compact.js

1
demo/js/fix-2.0/scene.js

@ -139,6 +139,7 @@
return { return {
type: "bi.tab", type: "bi.tab",
defaultShowIndex: this.constant.TAB1, defaultShowIndex: this.constant.TAB1,
single: true,
tab: { tab: {
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems([{ items: BI.createItems([{

1
dist/demo.js vendored

@ -10337,6 +10337,7 @@ BI.shortcut("demo.tmp", Demo.Func);
return { return {
type: "bi.tab", type: "bi.tab",
defaultShowIndex: this.constant.TAB1, defaultShowIndex: this.constant.TAB1,
single: true,
tab: { tab: {
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems([{ items: BI.createItems([{

2
dist/fix/fix.compact.js vendored

@ -34,7 +34,7 @@
var unMount = BI.Widget.prototype._unMount; var unMount = BI.Widget.prototype._unMount;
BI.Widget.prototype._unMount = function () { BI.Widget.prototype._unMount = function () {
unMount.apply(this, arguments); unMount.apply(this, arguments);
this.store && this.store.destroy(); this.store && BI.isFunction(this.store.destroy) && this.store.destroy();
BI.each(this._watchers, function (i, unwatches) { BI.each(this._watchers, function (i, unwatches) {
unwatches = BI.isArray(unwatches) ? unwatches : [unwatches]; unwatches = BI.isArray(unwatches) ? unwatches : [unwatches];
BI.each(unwatches, function (j, unwatch) { BI.each(unwatches, function (j, unwatch) {

Loading…
Cancel
Save