Fix: 修复iphone和ipad下web usb配置异常

This commit is contained in:
王立帮
2025-01-26 14:40:46 +08:00
parent 3d1d59e242
commit cf593c4565
2 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ if (platform === 'win32' && fullPlatform !== 'win10') {
Device = USBMini;
}
}
} else if (fullPlatform === 'android') {
} else if (['android', 'ios'].includes(fullPlatform)) {
if (['BBC micro:bit', 'Mithon CC'].includes(BOARD.boardType)) {
Device = USB;
} else {