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