---完善活动告警 -80%

This commit is contained in:
lai
2023-09-28 18:02:31 +08:00
parent 4cdf40b3b1
commit 11e4159368
4 changed files with 406 additions and 139 deletions

View File

@@ -21,7 +21,6 @@ export const xlsxUrl = `${
*/
export async function readLoalXlsx(id: string): Promise<Record<string, any>[]> {
let fileBolb = await (await fetch(`${xlsxUrl}/${id}.xlsx`)).arrayBuffer();
console.log(fileBolb.byteLength)
if(!fileBolb.byteLength){
fileBolb = await (await fetch(`${xlsxUrl}/all.xlsx`)).arrayBuffer();
}