Commit 9a4cf61 1 parent c04a9b4 commit 9a4cf61 Copy full SHA for 9a4cf61
File tree 3 files changed +6
-2
lines changed
flat-stores/src/utils/upload-task-manager
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 479
479
"switch-to-next-color" : " Switch to next color" ,
480
480
"switch-to-previous-color" : " Switch to previous color" ,
481
481
"pencil-tool-draws-circle" : " Pencil tool draws circle" ,
482
- "draw-circles-from-center" : " Draw circles from center"
482
+ "draw-circles-from-center" : " Draw circles from center" ,
483
+ "total-usage-is-full" : " Total usage is full"
483
484
}
Original file line number Diff line number Diff line change 479
479
"switch-to-next-color" : " 切换到下一个颜色" ,
480
480
"switch-to-previous-color" : " 切换到上一个颜色" ,
481
481
"pencil-tool-draws-circle" : " 画笔工具画直线" ,
482
- "draw-circles-from-center" : " 以当前点为圆心画圆"
482
+ "draw-circles-from-center" : " 以当前点为圆心画圆" ,
483
+ "total-usage-is-full" : " 云盘存储已达上限"
483
484
}
Original file line number Diff line number Diff line change 8
8
RequestErrorCode ,
9
9
isServerRequestError ,
10
10
} from "@netless/flat-server-api" ;
11
+ import { errorTips } from "flat-components" ;
11
12
import { isPPTX } from "../file" ;
12
13
13
14
export enum UploadStatusType {
@@ -124,6 +125,7 @@ export class UploadTask {
124
125
} else {
125
126
console . error ( e ) ;
126
127
this . updateStatus ( UploadStatusType . Failed ) ;
128
+ errorTips ( e ) ;
127
129
}
128
130
}
129
131
You can’t perform that action at this time.
0 commit comments