vuejs / core

🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

Home Page:https://vuejs.org/

Repository from Github https://github.comvuejs/coreRepository from Github https://github.comvuejs/core

无法通过ref正确执行懒加载的动态子组件

TwT-L opened this issue · comments

commented

Version

3.2.22

Reproduction link

github.com

Steps to reproduce

点击「Goto CheckBox」 然后再点击「back」。
重复上述步骤

What is expected?

第二次点击「back」仍然能返回「TextBox」

What is actually happening?

无法返回「TextBox」,ref 指向的component变成了null