Compare commits

...

4 Commits

2 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View File

@ -10,4 +10,5 @@
/.clang-tidy
/entry/src/main/cpp
/entry/src/main/ets/pages/judgeSDK/utils/judgeConfig.ts
/build-profile.json5
/build-profile.json5
.DS_Store

View File

@ -700,6 +700,9 @@ export default class Judge {
temp.code == 2300007 || temp.code == 2300028) {
this.disConnectNum += 1;
if (this.disConnectNum < 5) {
if (temp.code == 2300028) {
await new Promise(resolve => setTimeout(resolve, 1000)); // 延迟1秒
}
return await this.sendWriteObjectOut(data, filePath)
}
}