diff --git a/src/components/Device/components/ControlBar/ApplicationStart/index.vue b/src/components/Device/components/ControlBar/ApplicationStart/index.vue index f6f4768..82d4fc1 100644 --- a/src/components/Device/components/ControlBar/ApplicationStart/index.vue +++ b/src/components/Device/components/ControlBar/ApplicationStart/index.vue @@ -104,6 +104,13 @@ export default { }) await window.scrcpy.startApp(this.device.id, { title, commands, packageName: value }) + .catch((e) => { + console.error('mirror.commands', commands) + console.error('mirror.error', e) + if (e.message) { + this.$message.warning(e.message) + } + }) openFloatControl(toRaw(this.device))