We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45a9c6a + 305f7d3 commit 2a5524aCopy full SHA for 2a5524a
src/service/SubmissionService.ts
@@ -23,8 +23,9 @@ class SubmissionService extends BaseWebViewService {
23
this.result = this.parseResult(resultString);
24
25
const temp = this.getSubmitEvent();
26
- if (temp?.accepted && temp?.sub_type == "submit") {
27
- this.result["costTime"] = [`耗时${statusBarTimeService.getCostTimeStr()}`];
+ let costTime = statusBarTimeService.getCostTimeStr();
+ if (temp?.accepted && temp?.sub_type == "submit" && costTime) {
28
+ this.result["costTime"] = [`耗时 ${costTime}`];
29
}
30
this.showWebviewInternal();
31
this.showKeybindingsHint();
0 commit comments