iview / iview/iview-admin

/libs/util.canTurnTo处理逻辑疑问

Open
#1,189 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
16.4k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Description

当router配置中存在多层嵌套时(例如三层),如果需要访问第二层页面,此时会被第一层if过滤导致无法正常访问,把if顺序调转后可解决

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with /libs/util.canTurnTo and inspect how nested router configurations are checked. Reproduce access to a second-level page in a three-level route configuration, then verify that the route is allowed and existing navigation behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.