eda_dmt_editor_control_close_document
Closes an open document tab in EasyEDA Pro by its ID, ending the editing session and releasing editor resources.
Instructions
dmt_EditorControl.closeDocument(tabId: string) -> Promise 关闭文档 returns: 操作是否成功
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |