element-plus / element-plus-nuxt-starter

🌰 A starter example for element-plus with Nuxt 3.
https://element-plus-nuxt.vercel.app
MIT License
289 stars 82 forks source link

el-dropdown bug ,The former frame data is overwritten by the latter data. #27

Closed whm-applesin closed 1 year ago

whm-applesin commented 2 years ago

image image image

element-plus > el-dropdown > el-dropdown-menu 。 The former frame data is overwritten by the latter data. This is the latest version, nothing has changed,only the two el-dropdown .

JiatLn commented 2 years ago

el-menu组件的el-sub-menu 下拉亦是如此 有解决方案吗

YunYouJun commented 2 years ago

I think it is caused by ssr.

Just use <client-only></client-only> wrap your dropdown. And it works.