Update: 在线版调整web usb
This commit is contained in:
@@ -239,6 +239,9 @@ class App extends Component {
|
||||
id: 'command-burn-btn',
|
||||
displayText: Msg.Lang['nav.btn.burn'],
|
||||
preconditionFn: () => {
|
||||
if (!goog.isElectron && !goog.hasSocketServer && Serial.type !== 'serialport') {
|
||||
return false;
|
||||
}
|
||||
return SELECTED_BOARD?.nav?.burn;
|
||||
},
|
||||
callback: () => BU.initBurn(),
|
||||
|
||||
Reference in New Issue
Block a user