Giter Site home page Giter Site logo

Comments (6)

itmanyong avatar itmanyong commented on May 27, 2024

版本:3.0.8
环境:uniapp最新版编译为h5,edge浏览器运行

from luch-request.

lei-mu avatar lei-mu commented on May 27, 2024

我用demo 测试没有复现。
检查一下请求拦截器内部是不是出问题,promise 中出现异常,会进入catch。

可以试试 新new 一个实例,看请求是否发出

如果确认自己代码没问题,可以考虑提供可复现的demo 或者,加qq 私发一些关键代码

from luch-request.

itmanyong avatar itmanyong commented on May 27, 2024

你好。我这边检查了一下,代码逻辑层面没得毛病,发现主要问题在于访问的url不存在的情况就出现这种,服务器返回404,就进入到了response的error中没问题,奇怪的是参数全部都是发送前的配置参数,这一点是否是属预期之内的效果呢

from luch-request.

lei-mu avatar lei-mu commented on May 27, 2024

参数全部都是发送前的配置参数

这个啥意思?

from luch-request.

itmanyong avatar itmanyong commented on May 27, 2024

意思是指进入到响应拦截器中的错误逻辑时,收到的参数内容等同于请求拦截器中的config。

from luch-request.

lei-mu avatar lei-mu commented on May 27, 2024

无法复现,提供可复现的demo

from luch-request.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.