From 90a48bc3622d80206503ee216b46f1138a7432fc Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Wed, 15 Mar 2023 13:49:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJySet.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJySet.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/SrcJySet.js b/SrcJySet.js index 06b007d1..4c16925d 100644 --- a/SrcJySet.js +++ b/SrcJySet.js @@ -3022,7 +3022,7 @@ function yundiskjiekou() { }else{ var datalist = []; } - function yundiskapi(data){ + function yundiskapi(filepath,data){ addListener("onClose", $.toString(() => { clearMyVar('yundiskname'); clearMyVar('yundiskparse'); @@ -3117,8 +3117,7 @@ function yundiskjiekou() { d.push({ title: '增加', url: $('hiker://empty#noRecordHistory##noHistory#').rule((filepath,yundiskapi) => { - let filepath = filepath; - yundiskapi(); + yundiskapi(filepath); },filepath,yundiskapi), img: "https://lanmeiguojiang.com/tubiao/more/25.png", col_type: "icon_small_3" @@ -3188,8 +3187,7 @@ function yundiskjiekou() { url: $(["编辑", "删除"], 1).select((filepath,yundiskapi,data) => { if(input == "编辑"){ return $('hiker://empty#noRecordHistory##noHistory#').rule((filepath,yundiskapi,data) => { - let filepath = filepath; - yundiskapi(data); + yundiskapi(filepath,data); },filepath,yundiskapi,data) } else if (input == "删除") { let datafile = fetch(filepath);