修复拖拽文件后,ESC退出再用adb进来会自动执行上个操作
This commit is contained in:
parent
887c7681dc
commit
bbbe21791e
@ -91,6 +91,8 @@
|
||||
type,
|
||||
payload
|
||||
}) => {
|
||||
path="";
|
||||
|
||||
if (type == 'files') {
|
||||
path = payload[0].path;
|
||||
console.log("检测到文件:" + path)
|
||||
@ -98,13 +100,14 @@
|
||||
}
|
||||
reload()
|
||||
})
|
||||
|
||||
|
||||
|
||||
function reload() {
|
||||
chinese = [];
|
||||
$('#device').empty();
|
||||
$('#log').val('');
|
||||
|
||||
|
||||
window.adb('adb devices', (stdout,error) => {
|
||||
if(error==true){
|
||||
log(stdout)
|
||||
|
Loading…
Reference in New Issue
Block a user