爱意满满的作品展示区。
licoycn

写了一个业务关联的 axios 封装

  •  1
     
  •   licoycn ·
    Licoy · Mar 22, 2022 · 1210 views
    This topic created in 1532 days ago, the information mentioned may be changed or developed.

    本身大部分都是做后端业务的,然后也要对中后台的管理前端架构负责,于是就在写的过程中产生了这个想法,现在只集成了一些基础的方法,如果有需要的可以用用:

    https://github.com/Licoy/logic-axios

    Chism
        1
    Chism  
       Mar 22, 2022
    之前一直用 fetch ,觉得有 fetch 了就不需要 axios
    后来发现 fetch 上传文件没有进度回调,也没自带的 timeout
    然后把之前用 fetch 的地方都改 axios
    licoycn
        2
    licoycn  
    OP
       Mar 22, 2022
    @Chism #1 fetch 太单一
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3157 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 12:25 · PVG 20:25 · LAX 05:25 · JFK 08:25
    ♥ Do have faith in what you're doing.