We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
嵌套路由时,如/page/a -> /page/b切换时,会先执行a的render,再执行b的render。
嵌套路由时,期望/page/a -> /page/b时,只执行b的render,a不应该执行。
图1:初始加载/todo/t1路由 图2:点击图1中的to t2的按钮,调用history.push('/todo/t2'),执行了t1 run,卸载了t1不应该再执行t1了。这里有问题 图3:文件目录 图4:t1和t2两个嵌套路由的组件代码
ice3
No response
The text was updated successfully, but these errors were encountered:
可以看下这个 issue 的说明 #6461
Sorry, something went wrong.
No branches or pull requests
Describe the bug
嵌套路由时,如/page/a -> /page/b切换时,会先执行a的render,再执行b的render。
Expected behavior
嵌套路由时,期望/page/a -> /page/b时,只执行b的render,a不应该执行。
Actual behavior
图1:初始加载/todo/t1路由
图2:点击图1中的to t2的按钮,调用history.push('/todo/t2'),执行了t1 run,卸载了t1不应该再执行t1了。这里有问题
图3:文件目录
图4:t1和t2两个嵌套路由的组件代码
Version of ice.js
ice3
Content of build.json or ice.config.mts
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: