Subscribe on changes!

<Suspense> 等待异步使用 <script setup> 时有顶层 await 表达式的组件时,在await 的 promise中跳转页面会报错

avatar
May 9th 2023

Vue version

^3.2.38

Link to minimal reproduction

https://github.com/taoxq/vue-issue-suspense.git

Steps to reproduce

启动项目后,访问/page1路由即可复现

What is expected?

应当正常跳转

What is actually happening?

无法正常跳转,vue报错

System Info

No response

Any additional comments?

No response