You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
------------------ 原始邮件 ------------------
发件人: "WenJieLi1998"<notifications@github.com>;
发送时间: 2020年4月19日(星期天) 上午10:56
收件人: "haizlin/fe-interview"<fe-interview@noreply.github.com>;
抄送: "Coisini"<809467603@qq.com>;"Comment"<comment@noreply.github.com>;
主题: Re: [haizlin/fe-interview] [vue] vue-router如何响应路由参数的变化? (#383)
1.watch
2.导航守卫
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Activity
wenyejie commentedon Jun 21, 2019
watch
zhaoling906 commentedon Oct 20, 2019
1.watch
2.在父组件的router-view上加个key
LQY-3777 commentedon Nov 26, 2019
ickt-5:
路由 vue-router 面试题:
https://blog.csdn.net/Arthas_Xue/article/details/101024666
在父组件的router-view上加个key:
https://www.jianshu.com/p/802f357d9699
zlqGitHub commentedon Dec 22, 2019
问题:为什么要响应参数变化?
解决方案:
<router-view :key="$route.fullPath"></router-view>
WenJieLi1998 commentedon Apr 19, 2020
1.watch
2.导航守卫
zhaoling906 commentedon Apr 19, 2020