From 2b58ff39bbb0c537841a38cf854d7a537d144678 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 18 Oct 2022 15:10:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcLive.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcLive.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SrcLive.js b/SrcLive.js index 816e1f2b..a25b6a80 100644 --- a/SrcLive.js +++ b/SrcLive.js @@ -138,7 +138,9 @@ function Live() { } writeFile(JYlivefile, JYlives.join('\n')); hideLoading(); - refreshPage(false); + //refreshPage(false); + deleteItem(groupname); + deleteItemByCls('livelist'); return "toast://已删除分组 <"+groupname+"> 所有地址"; }catch(e){ hideLoading(); @@ -158,7 +160,7 @@ function Live() { }catch(e){} } writeFile(JYlivefile, JYlives.join('\n')); - refreshPage(false); + updateItem(groupname,{title:input}); return "toast:// <"+groupname+"> 分组改名为 <"+input+">"; }else{ return "toast://输入不能为空"