* 从历史记录中删除指定指令。
(
commandPath: string,
featureCode?: string,
name?: string
)
| 1472 | * 从历史记录中删除指定指令。 |
| 1473 | */ |
| 1474 | async function removeFromHistory( |
| 1475 | commandPath: string, |
| 1476 | featureCode?: string, |
| 1477 | name?: string |
| 1478 | ): Promise<void> { |
| 1479 | await window.ztools.removeFromHistory(commandPath, featureCode, name) |
| 1480 | // 后端会发送 history-changed 事件,触发重新加载 |
| 1481 | } |
| 1482 | |
| 1483 | // ==================== 固定应用相关 ==================== |
| 1484 |
nothing calls this directly
no test coverage detected