iview / iview/iview-admin

子组件路由监听 无效

Open
#1,256 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

在mian下的子组件监听路由, deep:true,无效, immediate: true, 可以监听到 to参数,但是监听 from 参数 永远是 undefined, 不使用深度监听, 什么都没有

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the route watcher behavior in the main area’s child component, comparing deep and immediate watcher configurations. Trace how the route change callback receives its to and from values; done means the reported child-component case is reproducible, understood, and covered by a regression check showing the expected values.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.