Coder Social home page Coder Social logo

Comments (8)

yunsii avatar yunsii commented on May 20, 2024

应该跟布局类型无关吧,能提供一下截图吗?/aa 是怎么渲染的?

from ant-design-pro-plus.

imgoby avatar imgoby commented on May 20, 2024

mix布局:
image

出现问题,
image

from ant-design-pro-plus.

imgoby avatar imgoby commented on May 20, 2024

设置了分割菜单,这就让一级菜单可以点击了。但一级菜单是一个目录。所以就有问题了

from ant-design-pro-plus.

yunsii avatar yunsii commented on May 20, 2024

自动分割菜单这个功能是新 feature 吧,我研究一下再答复你,会尽快修复的。

from ant-design-pro-plus.

imgoby avatar imgoby commented on May 20, 2024

谢谢

from ant-design-pro-plus.

yunsii avatar yunsii commented on May 20, 2024

问题解决了,由于 React Router 的 redirect 逻辑之前一直没处理 😂 按照之前 ant design pro 的菜单逻辑是不会自动触发 redirect 的,现在这个自动分割菜单的功能就会触发 redirect 了。

当前项目内实现可参考 commit:acdc50a
use-switch-tabs 中的处理:https://github.com/yunsii/use-switch-tabs/blob/master/src/utils.tsx#L45

from ant-design-pro-plus.

imgoby avatar imgoby commented on May 20, 2024

thanku

from ant-design-pro-plus.

yunsii avatar yunsii commented on May 20, 2024

close as stale

from ant-design-pro-plus.

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.