exportfunctionget(url,params){returnnewPromise((resolve,reject)=>{axios.get(url,{params:params}).then(res=>{resolve(res.data);}).catch(err=>{reject(err.data)})});}难道这样不可以吗exportfunctionget(url,params){returnaxios.get(url,{params:params})}
翻过高山走不出你
相关分类