import upload from "@/utils/upload"; export function uploadFile(file, timeout = 10000) { return upload({ url: `/common/upload`, filePath: file, name: 'file', timeout }) }