perf: ♻️ Mirror group shutdown logic

This commit is contained in:
viarotel 2023-11-11 16:23:32 +08:00
parent 5793c246fa
commit 296e21dfcf

View File

@ -44,7 +44,8 @@ export default {
console.log('handleCommand.command', command)
if (command === 'close') {
this.$adb.clearOverlayDisplayDevices(this.device.id)
this.handleStop()
this.loading = false
return false
}
@ -75,10 +76,12 @@ export default {
}
}
this.$adb.clearOverlayDisplayDevices(this.device.id)
this.handleStop()
this.loading = false
},
handleStop() {
this.$adb.clearOverlayDisplayDevices(this.device.id)
},
},
}
</script>