---完善活动告警 -80%
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user