eda_sys_dialog_show_select_dialog
Show a selection dialog in EasyEDA Pro that lets users pick from provided options, with support for default selection, surrounding text, and callback handling.
Instructions
sys_Dialog.showSelectDialog(options: Array | Array<{ value: string; displayContent: string }>, beforeContent?: string, afterContent?: string, title?: string, defaultOption?: string, multiple?: false, callbackFn?: (value: string) => void | Promise) -> void
弹出选择窗口
returns: 用户选择的值,对应传入的 options 中的 value 字段
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |