Repository navigation
Replies: 1 comment
|
0 replies
Answer selected by
karlio66
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
背景:使用 Native UI 组件库开发的 vue3应用,在 wujie 无界微前端框架下作为子应用运行(单例模式),主应用也使用 Native UI 组件库开发。
问题:第一次打开页面时NSelect正常从输入框下面展示,路由切换之后再切回原页面,NSelect从输入框上面展示,位置没有错乱,效果像是从placement="bottom-start" 变成了 placement="top-end"
代码:
版本情况:
Vue:3.5.34
naive-ui:2.44.1
wujie-vue3:1.0.29
主应用使用的无界插件:
已经使用AI进行各种尝试,目前有效一点的方法是子应用增加全局样式,但是路由切换之后会有点偏移:
请问有没有更好的解决方案
All reactions