Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Keywos committed Apr 5, 2024
1 parent 63084a2 commit 66c1b99
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rename.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* 更新日期:2024-04-05 14:11:06
* 更新日期:2024-04-05 15:30:15
* 用法:Sub-Store 脚本操作添加
* rename.js 以下是此脚本支持的参数,必须以 # 为开头多个参数使用"&"连接,参考上述地址为例使用参数。 禁用缓存url#noCache
*
Expand Down Expand Up @@ -181,15 +181,15 @@ function operator(pro) {
re = false;
BLKEYS.forEach((i) => {
if (i.includes(">") && ens.includes(i.split(">")[0])) {
if (rurekey[ikey].test(i.split(">")[0])) {
e.name += " " + i.split(">")[0]
}
if (i.split(">")[1]) {
BLKEY_REPLACE = i.split(">")[1];
if (rurekey[ikey].test(BLKEY_REPLACE)) {
e.name += " " + BLKEY_REPLACE
}
re = true;
}
} else {
if (rurekey[ikey].test(i) && ens.includes(i)) {
if (ens.includes(i)) {
e.name += " " + i
}
}
Expand Down

0 comments on commit 66c1b99

Please sign in to comment.