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.
1 parent 45a9c6a commit 305f7d3Copy full SHA for 305f7d3
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