From 3ff4c38c1700101c80751ab49679120a66e39289 Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 5 Oct 2021 21:31:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96web?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/assets/web/rssSource/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/assets/web/rssSource/index.js b/app/src/main/assets/web/rssSource/index.js index 8d050825d..70c339829 100644 --- a/app/src/main/assets/web/rssSource/index.js +++ b/app/src/main/assets/web/rssSource/index.js @@ -38,7 +38,7 @@ function showTab(tabName) { } // 源列表列表标签构造函数 function newRule(rule) { - return ``; + return ``; } // 缓存规则列表 var RuleSources = []; @@ -350,7 +350,7 @@ $('#RuleList').addEventListener('click', e => { let editRule = null; if (e.target && e.target.getAttribute('name') == 'rule') { editRule = rule2json(); - json2rule(RuleSources.find(x => x.sourceUrl == e.target.id)); + json2rule(RuleSources.find(x => hex_md5(x.sourceUrl) == e.target.id)); } else return; if (editRule.sourceUrl == '') return; if (editRule.sourceName == '') editRule.sourceName = editRule.sourceUrl.replace(/.*?\/\/|\/.*/g, '');