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
这个问题是出现在使用Suspense结合RouterVIew、KeepAlive时出现的情况。我发现官方文档中推荐的suspense和其他组件嵌套使用时的顺讯是错误的。地址:https://cn.vuejs.org/guide/built-ins/suspense.html#error-handling 官方文档的使用顺序是这样:
通过测试之后发现正确的顺序应该是这样:
The text was updated successfully, but these errors were encountered:
I believe what's shown in the docs is correct. What you're seeing might be a core bug: vuejs/core#6222.
Putting the <KeepAlive> outside the <RouterView> might prevent the error message, but it won't actually be doing any keep-alive.
<KeepAlive>
<RouterView>
Sorry, something went wrong.
No branches or pull requests
这个问题是出现在使用Suspense结合RouterVIew、KeepAlive时出现的情况。我发现官方文档中推荐的suspense和其他组件嵌套使用时的顺讯是错误的。地址:https://cn.vuejs.org/guide/built-ins/suspense.html#error-handling
官方文档的使用顺序是这样:
通过测试之后发现正确的顺序应该是这样:
The text was updated successfully, but these errors were encountered: