refactor: ♻️ 导入增加错误提示信息

导入增加错误提示信息
This commit is contained in:
Theo
2025-01-14 11:03:22 +08:00
parent 2cae42e8d9
commit 3413d3fcbe
3 changed files with 137 additions and 65 deletions

13
src/types/global.d.ts vendored
View File

@@ -89,5 +89,18 @@ declare global {
/** 子列表 */
children?: OptionType[];
}
/**
* 导入结果
*/
interface ExcelResult {
/** 状态码 */
code: string;
/** 无效数据条数 */
invalidCount: number;
/** 有效数据条数 */
validCount: number;
/** 错误信息 */
messageList: Array<string>;
}
}
export {};