| | |
| | | } |
| | | device.data.gateway_sn = apiPilot.getRemoteControllerSN() |
| | | if (device.data.gateway_sn === EStatusValue.DISCONNECT.toString()) { |
| | | message.warn('Data is not available, please restart the remote control.') |
| | | message.warn('数据不可用,请重新启动遥控器') |
| | | return |
| | | } |
| | | |
| | |
| | | if (isInstalled) { |
| | | window.open('https://www.dji.com') |
| | | } else { |
| | | message.error(packageName + ' is not installed.') |
| | | message.error(packageName + ' 未安装.') |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | function moduleUninstall (m: any) { |
| | | message.info('uninstall ' + m.module) |
| | | message.info('卸载 ' + m.module) |
| | | apiPilot.unloadComponent(m.module) |
| | | refreshStatus() |
| | | } |