From 42629942da99a52da23bae5ea0209b38263c8ebe Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 20 Oct 2022 10:51:15 +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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SrcLive.js b/SrcLive.js index 6f85eab7..f1a8b472 100644 --- a/SrcLive.js +++ b/SrcLive.js @@ -615,8 +615,9 @@ function LiveSet() { title: '🛠 编辑本地源', col_type: 'text_2', url: getMyVar('JYlivedyurl','juying')=="juying"?$('#noLoading#').lazyRule(() => { - //putMyVar('editmode','1'); - //back(true); + if(getMyVar('JYlivenum','0')=="0"){ + return "toast://本地数据源为空,无法进入编辑模式"; + } let editnames = ["单选删除|onedelete","多选删除|moredelete","分组改名|grouprename","地址改名|urlrename","退出编辑|exitedit"]; let editmenu = []; for(let i=0;i