feat: show loading on proxy group delay check

This commit is contained in:
GyDi 2022-09-24 15:31:09 +08:00
parent 96e76665d6
commit 0beaa94068
No known key found for this signature in database
GPG Key ID: 58B15242BA8277A6

View File

@ -59,6 +59,9 @@ class DelayManager {
let count = 0;
let current = 0;
// 设置正在延迟测试中
names.forEach((name) => this.setDelay(name, groupName, -2));
return new Promise((resolve) => {
const help = async (): Promise<void> => {
if (current >= skipNum) return;