Giter Site home page Giter Site logo

loading 转圈bug about dumi-theme-antd HOT 4 CLOSED

geektcp avatar geektcp commented on June 12, 2024
loading 转圈bug

from dumi-theme-antd.

Comments (4)

geektcp avatar geektcp commented on June 12, 2024

问题已经查出,复现条件如下:
docs目录只有文件夹和文件夹里面的md文档,docs不存在index.md文件,就会出现。


解决方案:
1、补充index.md文件到docs目录下。
2、建议主题代码增强健壮性。

from dumi-theme-antd.

KuangPF avatar KuangPF commented on June 12, 2024

问题我大致看了,如果涉及到自定义页面,比如 page/xxx.tsx,因为首页是完全自定义的,nprocess 就会复现 bug,如果是 md 则不会,这点我和官方确定下具体问题原因,antd5 官网一样也存在这个 bug。

from dumi-theme-antd.

geektcp avatar geektcp commented on June 12, 2024

问题我大致看了,如果涉及到自定义页面,比如 page/xxx.tsx,因为首页是完全自定义的,nprocess 就会复现 bug,如果是 md 则不会,这点我和官方确定下具体问题原因,antd5 官网一样也存在这个 bug。

没错antd官网也有这问题, nprogress 把这个参数设置为false,也可以避免转圈。先解决下问题。

from dumi-theme-antd.

KuangPF avatar KuangPF commented on June 12, 2024

官方已解决该问题,升级主题包至0.2.13即可解决。

from dumi-theme-antd.

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.