mirror of
https://github.com/AkiChase/scrcpy-mask
synced 2025-02-23 15:32:17 +08:00
bug(Device): refresh devices
This commit is contained in:
parent
c8a6cb94b2
commit
df364d35dd
@ -269,9 +269,8 @@ async function connectDevice() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
store.showLoading();
|
store.showLoading();
|
||||||
const msg = await adbConnect(address.value);
|
message.info(await adbConnect(address.value));
|
||||||
store.hideLoading();
|
await refreshDevices();
|
||||||
message.info(msg);
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -66,24 +66,6 @@ function toStartServer() {
|
|||||||
<template v-if="store.keyMappingConfigList.length">
|
<template v-if="store.keyMappingConfigList.length">
|
||||||
<div @contextmenu.prevent class="mask" id="maskElement"></div>
|
<div @contextmenu.prevent class="mask" id="maskElement"></div>
|
||||||
<div class="button-layer">
|
<div class="button-layer">
|
||||||
<div
|
|
||||||
style="
|
|
||||||
position: absolute;
|
|
||||||
height: 1px;
|
|
||||||
width: 100%;
|
|
||||||
background-color: red;
|
|
||||||
top: 55%;
|
|
||||||
"
|
|
||||||
></div>
|
|
||||||
<div
|
|
||||||
style="
|
|
||||||
position: absolute;
|
|
||||||
height: 100%;
|
|
||||||
width: 1px;
|
|
||||||
background-color: red;
|
|
||||||
left: 50%;
|
|
||||||
"
|
|
||||||
></div>
|
|
||||||
<template
|
<template
|
||||||
v-for="button in store.keyMappingConfigList[store.curKeyMappingIndex]
|
v-for="button in store.keyMappingConfigList[store.curKeyMappingIndex]
|
||||||
.list"
|
.list"
|
||||||
|
@ -18,8 +18,6 @@ import { DropdownOption, NDropdown, useDialog, useMessage } from "naive-ui";
|
|||||||
import { onBeforeRouteLeave } from "vue-router";
|
import { onBeforeRouteLeave } from "vue-router";
|
||||||
import { useKeyboardStore } from "../../store/keyboard";
|
import { useKeyboardStore } from "../../store/keyboard";
|
||||||
|
|
||||||
// TODO 添加无线调试(rust加一条指令connet即可)
|
|
||||||
|
|
||||||
const store = useGlobalStore();
|
const store = useGlobalStore();
|
||||||
const keyboardStore = useKeyboardStore();
|
const keyboardStore = useKeyboardStore();
|
||||||
const dialog = useDialog();
|
const dialog = useDialog();
|
||||||
|
Loading…
Reference in New Issue
Block a user