Skip to content

Commit d56a6d4

Browse files
authored
Merge pull request #533 from opendatalab/main
fix(frontend): add duplicated attachment alert message
2 parents abb0e55 + 40960e6 commit d56a6d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/frontend/src/api/constant.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ export const ErrorMessages = {
1717
[TASK_INIT_CODE + 1]: '任务已完成',
1818
[TASK_INIT_CODE + 2]: '任务没发现',
1919
[TASK_INIT_CODE + 1000]: '上传文件错误,保存失败',
20-
[TASK_INIT_CODE + 1001]: '附近没找到',
20+
[TASK_INIT_CODE + 1001]: '附件未找到',
21+
[TASK_INIT_CODE + 1002]: '同名附件已存在',
2122
[TASK_INIT_CODE + 5000]: '参数错误:after,before,pageNo,只能选一个,pageNo 可以说是0',
2223
[TASK_INIT_CODE + 5001]: '没有此sample',
2324
[TASK_INIT_CODE + 5003]: '预标注中的sample_name在数据库中已存在',

0 commit comments

Comments
 (0)