lei-mu / luch-request

luch-request 是一个基于Promise 开发的uni-app跨平台、项目级别的请求库,它有更小的体积,易用的api,方便简单的自定义能力。
https://www.quanzhan.co/luch-request/
MIT License
628 stars 96 forks source link

err TypeError: relativeURL.replace is not a function #111

Closed yjt1216 closed 1 year ago

yjt1216 commented 1 year ago

uni-app 中调用方法post方法:

// 数据控制中心 发送短信 sms/send export function sendSmsDp(data) { return http.post({ url: 'sms/send', params: data }) }

错误提示: 获取验证码失败err TypeError: relativeURL.replace is not a function at combineURLs (combineURLs.js:12) at buildFullPath (buildFullPath.js:17) at index.js:23 at new Promise () at _default (index.js:22) at _default (dispatchRequest.js:5)

yjt1216 commented 1 year ago

568CBEDB-C169-40A0-9722-14A009FA9B8B

yjt1216 commented 1 year ago

后台给错接口了