/** * * 请求失败统一处理 */ export const httpErrorHandle = () => { window['$message'].error('获取数据失败,请稍后重试!'); };