Compare commits
4 Commits
0dd29a1fec
...
96a60f2df8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96a60f2df8 | ||
|
|
13d036f3f5 | ||
|
|
e456bdd12b | ||
|
|
55ed79b5db |
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,3 +11,4 @@
|
|||||||
/entry/src/main/cpp
|
/entry/src/main/cpp
|
||||||
/entry/src/main/ets/pages/judgeSDK/utils/judgeConfig.ts
|
/entry/src/main/ets/pages/judgeSDK/utils/judgeConfig.ts
|
||||||
/build-profile.json5
|
/build-profile.json5
|
||||||
|
.DS_Store
|
||||||
@ -700,6 +700,9 @@ export default class Judge {
|
|||||||
temp.code == 2300007 || temp.code == 2300028) {
|
temp.code == 2300007 || temp.code == 2300028) {
|
||||||
this.disConnectNum += 1;
|
this.disConnectNum += 1;
|
||||||
if (this.disConnectNum < 5) {
|
if (this.disConnectNum < 5) {
|
||||||
|
if (temp.code == 2300028) {
|
||||||
|
await new Promise(resolve => setTimeout(resolve, 1000)); // 延迟1秒
|
||||||
|
}
|
||||||
return await this.sendWriteObjectOut(data, filePath)
|
return await this.sendWriteObjectOut(data, filePath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user