热加载功能BUG再次出现
Vue version
3.2.40+
Link to minimal reproduction
none
Steps to reproduce
使用3.2.39及以前版本,或使用3.2.41以以后版本。
What is expected?
热加载功能应正常工作
What is actually happening?
特定条件下,热加载功能出错。 使用3.2.37及以前版本, ,复杂页面(多层嵌套组件并有v-if或v-show条件显示的区域)需要手动切换一次显隐状态,热加载的内容才会出现,但控制台没有报错信息。 Vue.js 3.2.38、Vue.js 3.2.39版本工作正常。 使用3.2.39及后的版本(截止3.2.47还未修复) ,复杂页面(多层嵌套组件并有v-if或v-show条件显示的区域)会出现热加载出错,导致热加载失效。报错信息类似如下: TypeError: Cannot read properties of null (reading 'style') at patchStyle (runtime-dom.esm-bundler.js:104:22) at patchProp (runtime-dom.esm-bundler.js:381:9) at patchProps (runtime-core.esm-bundler.js:5393:21) at patchElement (runtime-core.esm-bundler.js:5342:13) at processElement (runtime-core.esm-bundler.js:5148:13) at patch (runtime-core.esm-bundler.js:5065:21) at patchKeyedChildren (runtime-core.esm-bundler.js:5832:17) at patchChildren (runtime-core.esm-bundler.js:5775:21) at patchElement (runtime-core.esm-bundler.js:5288:13) at processElement (runtime-core.esm-bundler.js:5148:13) [HMR] Something went wrong during Vue component hot-reload. Full reload required.
System Info
No response
Any additional comments?
No response