在antdesignvue中设置nProgress的zIndex无效——已解决

问题描述:在antdesignvue中引入了进度条插件nProgress,但是nProgress被antdesignvue的导航栏挡住了。修改了nProgress的z-index也没用。

解决办法:在app文件中修改app的z-index

#app {
    
    
	position: relative;
	z-index: 0;
}

猜你喜欢

转载自blog.csdn.net/weixin_42566993/article/details/129057782
今日推荐