在當前頁使用框架提供的方法即可:
## 方法
| 參數 | 說明 | 參數
| --- | --- | ---
| top.$topVm.addTab(tabObj) | 手動添加一個tab,并且會自動切換到這個tab | tabObj:tab數據對象,包含對象{ id,url,title,icon }。
| top.$topVm.removeTab(tabName) | 手動移除一個tab | tabName:tab的Id值。
| top.$topVm.removeCurrentTab() | 移除當前tab |
| top.$topVm.refreshCurrentTabIframe() | 刷新當前頁 |
- 序言
- 安裝
- 組件查詢
- buttons
- WdApiButton
- WdDrawerButton
- WdRefreshButton
- WdRouteButton
- WdConfirmButton
- datagrid
- WdDatagrid
- WdGridDeleteButton
- WdGridEnableButton
- editgrid
- WdEditgrid
- WdEditgridCell
- element
- WdCard
- WdCollapse
- WdDrawerIframe
- WdIframe
- WdLabel
- WdSplitLabel
- WdDetail
- WdToolBar
- WdRepeater
- WdApiManager
- form
- WdDataForm
- WdSelect
- WdRadioList
- WdCheckboxList
- WdUploadImage
- search
- WdSearchCheckbox
- WdSearchDatepick
- WdSearchForm
- WdSearchInput
- WdSearchRadio
- WdSearchSelect
- tree
- WdTree
- 內置服務
- ajax服務
- 消息服務
- 框架方法
- tab操作
- 其他
- demo說明