#480·Mineradio

bug 用户点击“新建歌单”,程序想弹出一个“请输入歌单名字”的输入框,但 Electron 根本不支持它使用的这个输入框,所以按钮点击后直接报错。

作者: wu-xing-ai创建于 2026年9月19日更新于 2026年9月19日

flowchart TD A["User clicks + Create Built-in"] --> B["onclick calls promptCreateBuiltInPlaylist()"] B --> C["executes window.prompt(...)"] C --> D["Electron throws an exception
prompt() is and will not be supported."] D --> E["exception bubbles up from the onclick handler"] E --> F["silently dropped by the browser (visible only in the console)"] F --> G["no changes to the interface --> user thinks the button is broken"]

内容来源: XxHuberrr/Mineradio