mirror of
https://github.com/KOP-XIAO/QuantumultX.git
synced 2026-01-25 21:25:09 +00:00
修复rewrite无out参数时的错误
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
#Quantumult X 资源解析器 (2020-05-05: 17:33)
|
#Quantumult X 资源解析器 (2020-05-05: 20:33)
|
||||||
|
|
||||||
本资源解析器作者: Shawn(@XIAO_KOP), 有问题请反馈: @Shawn_KOP_bot
|
本资源解析器作者: Shawn(@XIAO_KOP), 有问题请反馈: @Shawn_KOP_bot
|
||||||
|
|
||||||
@@ -151,8 +151,8 @@ function Rewrite_Filter(subs,Pout){
|
|||||||
cnt=subs;
|
cnt=subs;
|
||||||
nlist=[];
|
nlist=[];
|
||||||
drewrite=[];
|
drewrite=[];
|
||||||
Pout=Pout.map(Trim);
|
|
||||||
if(Pout!="" && Pout!=null){
|
if(Pout!="" && Pout!=null){
|
||||||
|
Pout=Pout.map(Trim);
|
||||||
for(var i=0;i<cnt.length;i++){
|
for(var i=0;i<cnt.length;i++){
|
||||||
var cc=cnt[i];
|
var cc=cnt[i];
|
||||||
if(cc.trim()!=""){
|
if(cc.trim()!=""){
|
||||||
|
|||||||
Reference in New Issue
Block a user