mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 02:19:00 +08:00
Bug fixed
This commit is contained in:
parent
ab9d7d6a80
commit
0d3e6bf548
@ -2,8 +2,8 @@ function operator(proxies) {
|
|||||||
const counter = {};
|
const counter = {};
|
||||||
return proxies.map(p => {
|
return proxies.map(p => {
|
||||||
if (!counter[p.name]) counter[p.name] = 0;
|
if (!counter[p.name]) counter[p.name] = 0;
|
||||||
const num = "00000" + counter[p.name];
|
|
||||||
++counter[p.name];
|
++counter[p.name];
|
||||||
|
const num = "00000" + counter[p.name];
|
||||||
p.name = p.name + " " + num.substr(num.length-2);
|
p.name = p.name + " " + num.substr(num.length-2);
|
||||||
return p;
|
return p;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user