From 9365b43a817df6361a57b4a13c50d4ac39aab1b4 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sat, 26 Nov 2022 22:58:43 +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 | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/SrcLive.js b/SrcLive.js index 273da262..f638fabb 100644 --- a/SrcLive.js +++ b/SrcLive.js @@ -318,13 +318,15 @@ function guanlidata(datalist) { return LiveEdit(name,'rename'); },name) }]:[]; - longClick.push({ - title: "推送至TVBOX", - js: $.toString((name) => { - require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcLive.js'); - return LiveEdit(name,'pushBox'); - },name) - }) + if(getItem('enabledpush','')=='1'){ + longClick.push({ + title: "推送至TVBOX", + js: $.toString((name) => { + require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcLive.js'); + return LiveEdit(name,'pushBox'); + },name) + }) + } list.push({ title: name, img: 'https://lanmeiguojiang.com/tubiao/ke/156.png',