Dom changed position
Vue version
3.2.33
Link to minimal reproduction
https://github.com/LoveofRedMoon/bug-20220608.git
Steps to reproduce
- npm install
- npm run dev (this only appears in production or 'production' mode with dev)
- click '开发工具'
- click '用户管理'
- click '用户配置'
- click '日常办公'
What is expected?
Menu still appears in left
What is actually happening?
Menu appears in right
System Info
System:
OS: Windows 10 10.0.22000
CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1155G7 @ 2.50GHz
Memory: 5.92 GB / 15.79 GB
Binaries:
Node: 16.10.0 - C:\Program Files\nodejs\node.EXE
npm: 7.24.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.22000.120.0), Chromium (102.0.1245.33)
Internet Explorer: 11.0.22000.120
npmPackages:
vue: ^3.2.33 => 3.2.33
Any additional comments?
The relative view is 'src/views/Home.vue' In this SFC, Menu always appears in left
This only appears in 'production' mode, or build and server
I found that one vnode already shows in screen but it's el
property is null
Please provide a minimal reproduction, thanks!
I could not determine the problem. https://github.com/LoveofRedMoon/bug-20220608.git this link is what i can provide minimal reproduction.
This a far beyond minimal. See https://github.com/vuejs/core/blob/main/.github/bug-repro-guidelines.md#a-repro-should-be-minimal. Remove all unnecessary components and dependencies please.
This a far beyond minimal. See https://github.com/vuejs/core/blob/main/.github/bug-repro-guidelines.md#a-repro-should-be-minimal. Remove all unnecessary components and dependencies please.
The triggering method of some bugs is not simple in itself, just like isBlockTreeEnabled, its triggering condition must be a complex component. Is it not thoughtful to close an issue so hastily?
Is all the code you provided necessary to reproduce the problem? Will the problem disappear if you remove any part of it?
Is all the code you provided necessary to reproduce the problem? Will the problem disappear if you remove any part of it?
I try to remove some components that will not trigger this problem.
Is all the code you provided necessary to reproduce the problem? Will the problem disappear if you remove any part of it?
This is a production project and I have removed most of the business code.