p***@163.com
p***@163.com
  • 发布:2020-08-28 10:30
  • 更新:2023-04-02 00:10
  • 阅读:643

globalStyle中设置subNVues空白

分类:nvue

详细问题描述
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#4491fc",
"backgroundColor": "#efefef",
"app-plus": {
"subNVues": [{
"id": "customer_service",
"path": "/subNView/customer-service",
"style": {
"position": "static",
"height": "1000rpx",
"width": "600rpx",
"margin": "auto"
},
"type": "popup"
}]
}
}
这样配置的subNView,只会弹出一块白色区域,什么都没有,将subNivews放在对应页面的app-plus节点下,就正常,但是组件需要在多个页面中使用到,所以还是希望可以在globalStyle中配置。

2020-08-28 10:30 负责人:无 分享
已邀请:
ZFZF

ZFZF - zf

有人解决这个问题了吗,我也遇到了

note744917

note744917 - 我的联系方式:wx: note744917

3年了 这个bug依旧存在

要回复问题请先登录注册