Giter Site home page Giter Site logo

Comments (6)

liangjingkanji avatar liangjingkanji commented on July 28, 2024

请求标签tag

from kalle.

hanxiaomeme avatar hanxiaomeme commented on July 28, 2024

可以具体的讲一下思路吗

from kalle.

liangjingkanji avatar liangjingkanji commented on July 28, 2024

请求设置tag, 在拦截器里面根据tag来写重试次数

from kalle.

hanxiaomeme avatar hanxiaomeme commented on July 28, 2024

好的 谢谢 我发现了 但是我发现了一个问题 不知道是不是我的问题,我根据文档写的重试拦截器尝试了一下,发现重试次数会根据上一次的请求的重试次数,因为拦截器只能加载一次;还有一个问题就是我在tag中传入了context,想在重试完毕之后,弹出一个Dialog,让用户点击是否重新开始重试,但是我传入了这个Context之后,在拦截器中取出来之后,发现并不能显示。。

from kalle.

hanxiaomeme avatar hanxiaomeme commented on July 28, 2024

或者说是必须return intercept(chain);才能让重试之后的结果回调到原方法 但是在dialog中无法执行

from kalle.

liangjingkanji avatar liangjingkanji commented on July 28, 2024

kalle有严重bug建议你用net

from kalle.

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.