在index.js data对象中获取不到app中的StatusBar和CustomBar

小程序 文章 2020-08-24 14:41 739 0 全屏看文

AI助手支持GPT4.0

在index.js data对象中获取不到app中的StatusBar和CustomBarThe StatusBar and CustomBar in the app cannot be obtained in the index.js data object

在index.js data对象中获取不到app中的StatusBar和CustomBar
框架类型 问题类型 操作系统 工具版本
小程序 Bug Windows 1.03.2008201


Framework type problem type operating system tools version applet bug windows 1.03.2008201

回答:

Lucky🐱🍗:

数据能获取到,渲染的时候不行

小师叔:

你试试这样能不能获得,启动小程序时先进入其他页面,然后返回首页(就是你的index.js所在页面)

夕阳西下?:

Lucky🐱🍗:
夕阳西下?:
Lucky🐱🍗:你是setData了吗
微喵网络:

弄一个 [ 能复现问题的简单的 ] 代码片段

https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
为什么拿不到授权信息,而且清除授权后也不弹授权窗,每次调接口都是授权成功,而且获取的信息都是空!?
wx.getSystemInfo 返回值mode是什么意思?
请问怎么判断苹果12和se?
应用名称被占用,导致我方无法使用,麻烦给 加急处理一下?谢谢
绑定到同一个微信开放平台,为什么获得的unionid不同?
随便看看
ChatGPT-Java版SDK支持GPT-4V、Dall-e-3模型、ToolCalls、微调Job、TTS... 761
spring使用注解编写拦截器 660
阿里云com、cn域名续费优惠码(2024年2月可用) 685
AI生成正则表达式工具上线。 541
代充ChatGPT Plus 3607
AI在线小助手 65401
spring security中 UsernamePasswordAuthenticationToken 内部处理的详细步骤。 514
Spring安全认证 517
docker-compose up 和 docker-compose start 的区别 434
阿里云com、cn域名续费优惠码(2024年3月可用) 702