element-plus
element-plus copied to clipboard
[Component] [table] Columns duplicate when "pageTransition" is used
Bug Type: Component
Environment
- Vue Version:
3.4.26 - Nuxt Version:
3.9 - Element Plus Version:
2.7.2 - Browser / OS:
Chrome 123.0.6312.124 / Windows11 - Build Tool:
Vite
Reproduction
Related Component
-
el-table
Reproduction Link
Steps to reproduce
↓What I did to create the reproduction. ①Add "pageTransition" to nuxt.config.ts. ② Create table.vue and table directory, and create index.vue in the table directory. ③ Place NuxtPage tag in table.vue. ④ Use el-table tag in index.vue. ↓How to reproduce. ⑤ Open the root page. ⑥ Click the link and move to "table" page.
What is Expected?
Each column is rendered one by one.
What is actually happening?
The same columns are rendered twice, duplicating two by two.
Additional comments
The reason why I need table.vue. https://stackoverflow.com/questions/74637529/router-link-active-nuxt-3-vuejs-on-nested-routes-not-applying-to-parent/74748684