You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
当 src/views/Home.vue中的a-layout-sider标签存在时,对 src/views/About.vue 中的setup 内的console.log进行注释或解开注释,或者更改操作,热更新后浏览器控制台会出现parentComponent.ctx.deactivate is not a function的报错
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
a-layout-sider在vite热更新后会使控制台出现报错
a-layout-sider will cause an error in the console after the vite hot update
Sep 28, 2021
Version
2.2.8
Environment
系统版本:win10 浏览器版本:Google 91.0.4472.124 Vue:3.2.13
Reproduction link
https://github.com/huangqian0310/bug.git
Steps to reproduce
当 src/views/Home.vue中的a-layout-sider标签存在时,对 src/views/About.vue 中的setup 内的console.log进行注释或解开注释,或者更改操作,热更新后浏览器控制台会出现parentComponent.ctx.deactivate is not a function的报错
如果注释或者删除 src/views/Home.vue中的a-layout-sider标签后,再对src/views/About.vue 中的setup 内的console.log进行注释或解开注释,或者更改操作,热更新后浏览器控制台不会出现任何报错
What is expected?
当 src/views/Home.vue中的a-layout-sider标签存在时,对 src/views/About.vue 中的script内的代码进行操作后控制台不报错
What is actually happening?
当 src/views/Home.vue中的a-layout-sider标签存在时,热更新后控制台报错
The text was updated successfully, but these errors were encountered: