From bbbe21791e1657d5e2b0ee89b0a0434286b5ecf0 Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Mon, 24 Feb 2020 10:07:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8B=96=E6=8B=BD=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=90=8E=EF=BC=8CESC=E9=80=80=E5=87=BA=E5=86=8D?= =?UTF-8?q?=E7=94=A8adb=E8=BF=9B=E6=9D=A5=E4=BC=9A=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E4=B8=8A=E4=B8=AA=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 8b088cc..5030926 100644 --- a/index.html +++ b/index.html @@ -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)