码农石头
码农石头
  • 发布:2023-07-19 10:25
  • 更新:2023-07-19 16:42
  • 阅读:215

globalStyle是不是不支持配置subNVues

分类:uni-app

在globalStyle配置subNVues有问题,subnvue.show()不出来,在pages下配置是正常的,但是这个子窗口是整个APP全局都要的,是不支持还是什么BUG?用getSubNVueById打印如下:

{
"view_array": [],
"IDENTITY": "NWindow",
"uuid": "NWindow51689659409553",
"callbacks": {},
"callback_id": "plus61689659409553",
"id": "anyrtc",
"uniapp_host": "/pages/bootstrap",
"__uniapp_origin": "paltfrom/app-plus/subNVue/anyrtc",
"uniapp_origin_id": "1",
"$processed": true,
"postMessage": "function() { [native code] }",
"onMessage": "function() { [native code] }",
"$consumeMessage": "function() { [native code] }",
"setStyle": "function() { [native code] }"
}

2023-07-19 10:25 负责人:无 分享
已邀请:
喜欢技术的前端

喜欢技术的前端 - QQ---445849201

我之前用过plus.webview.create,直接加到首页

let updateView = plus.webview.create(  
        "/hybrid/html/footer-tab.html",  
        "footer-tab",  
        {  
            width:"100%",  
            height:'50px',  
            bottom: '0px',  
            background:"transparent"//transparent  
        },  
        {preload:{}}  
    )  
updateView.show()

要回复问题请先登录注册