刷新当前会话中的应用程序选项卡。
Syntax
Microsoft.Apm.refreshTab(tabId);
参数
| 名称 | 类型 | Required | 说明 |
|---|---|---|---|
| tabId | String | 是的 | 必须刷新的选项卡的唯一标识符。 |
返回值
没有。
例子
以下示例使用该 refreshTab 方法刷新指定的选项卡。
使用方法刷新 refreshTab 选项卡
Microsoft.Apm.refreshTab("tab-id-2")
使用方法刷新 refresh 选项卡
Microsoft.Apm.getFocusedSession().getFocusedTab().refresh();