This commit is contained in:
snltty
2024-08-16 23:00:06 +08:00
parent 8c7032ef7c
commit f3fa388d00
2 changed files with 3 additions and 4 deletions

View File

@@ -217,7 +217,6 @@ export default {
Started:true
}
addSForwardInfo(json).then((res) => {
console.log(JSON.stringify(json));
setTimeout(()=>{
fn(++port);
},50)

View File

@@ -31,7 +31,7 @@ export const provideTuntap = () => {
for (let j in res.List) {
res.List[j].running = res.List[j].Status == 2;
res.List[j].loading = res.List[j].Status == 1;
res.List[j].system = 'system';
res.List[j].system = 'debian';
const systemStr = res.List[j].SystemInfo.toLowerCase();
res.List[j].systemDocker = systemStr.indexOf('docker') >= 0;
@@ -55,9 +55,9 @@ export const provideTuntap = () => {
}
tuntap.value.list = res.List;
}
tuntap.value.timer = setTimeout(_getTuntapInfo, 200);
tuntap.value.timer = setTimeout(_getTuntapInfo, 1100);
}).catch((e) => {
tuntap.value.timer = setTimeout(_getTuntapInfo, 200);
tuntap.value.timer = setTimeout(_getTuntapInfo, 1100);
});
} else {
tuntap.value.timer = setTimeout(_getTuntapInfo, 1000);