Browse Source

feat: tab增加isCardExisted接口

master
iapyang 4 years ago
parent
commit
6426cabcd5
  1. 4
      src/base/combination/tab.js
  2. 2
      typescript/base/combination/tab.ts

4
src/base/combination/tab.js

@ -104,6 +104,10 @@ BI.Tab = BI.inherit(BI.Widget, {
}); });
}, },
isCardExisted: function (cardName) {
return this.layout.isCardExisted(cardName);
},
getSelect: function () { getSelect: function () {
return this.curr; return this.curr;
}, },

2
typescript/base/combination/tab.ts

@ -28,4 +28,6 @@ export declare class Tab extends Widget {
getTab<T>(v: string | number): T; getTab<T>(v: string | number): T;
populate(): void; populate(): void;
isCardExisted(): boolean;
} }

Loading…
Cancel
Save