当前位置:网站首页>uniApp问题清单与经验
uniApp问题清单与经验
2022-06-29 13:33:00 【web半晨】
目录
1、uniApp、API ‘offCompassChange‘ is not yet implemented、chooseLocation、map、nextTick、forceUpdate、打开地图、位置
bug描述及控制台报错展示
API 'offCompassChange' is not yet implemented,打包后报错,除微信小程序外,剩余的其他包都报错。
修复
在
uni.chooseLocation()API的成功回调里面使用this.$nextTick(() => { this.$forceUpdate(); });可以实现页面更新,但是报错依然存在,只是不影响流程。
2、uniApp、uni.chooseLocation(OBJECT)、获取位置、{errMsg: ‘getLocation:fail 签名验证失败‘}
报错截图
地图列表不显示,页面不可操作。
解决
重新申请
key即可。
源码
边栏推荐
- unity吃豆人小游戏,迷宫实现
- Thinkpad VMware 安装虚拟机出现此主机支持 Intel VT-x,但 Intel VT-x 处于禁用状态(问题解决方法)
- Distributed cache for memcached
- Interpretation of RESNET source code in mmdet +ghost module
- Introduction to esp8266: three programming methods "suggestions collection"
- Koa2+better-sqlite3 to add, delete, change and query
- golang7_TCP编程
- Go unit testing introductory practice
- 【黑马早报】中公教育市值蒸发逾2000亿;新东方直播粉丝破2000万;HM关闭中国首店;万科郁亮称房地产已触底;微信上线“大爆炸”功能...
- 留给比亚迪的时间还有三年
猜你喜欢

Applet Wechat: un nouveau réseau exclusif de microgroupes de développement de Cloud

硬件开发笔记(八): 硬件开发基本流程,制作一个USB转RS232的模块(七):创建基础DIP元器件(晶振)封装并关联原理图元器件

分布式唯一 ID 生成方案浅谈

昨天面试居然聊了半个多小时的异常处理

节点数据采集和标签信息的远程洪泛传输

Hardware development notes (VIII): basic process of hardware development, making a USB to RS232 module (VII): creating a basic dip component (crystal oscillator) package and associating the principle

Installation and removal of cover for CPU protection on desktop motherboard

windows平台下的mysql启动等基本操作

Unity SplashImage 缩放问题

喜迎市科协“十大”•致敬科技工作者 | 卢毅:守护电网传输安全的探索者
随机推荐
微信小程序:云开发表白墙微信小程序源码下载免服务器和域名支持流量主收益
Online text filter less than specified length tool
灵感收集·创意写作软件评测:Flomo、Obsidian Memo、Napkin、FlowUs
golang7_TCP编程
OpenSSL certificate tool user manual
Investors fell off the altar: 0 sales in half a year, transferred to business and delivered takeout
Normalization layer of pytorch learning (batchnorm, layernorm, instancenorm, groupnorm) [easy to understand]
Cicd introduction [easy to understand]
节点数据采集和标签信息的远程洪泛传输
[document translation] camouflaged object detection
Discard Tkinter! Simple configuration to quickly generate cool GUI!
By proxy, by buyout, the wild era of domestic end-to-end travel is waiting for the next "eternal robbery"
Appkey when applying for offline packaging of uniapp
从Mpx资源构建优化看splitChunks代码分割
windows平台下的mysql启动等基本操作
urllib urllib2
GBase8s数据库遇到951错误是什么原因?
Sixty years of deep learning
Applet Wechat: un nouveau réseau exclusif de microgroupes de développement de Cloud
Stable currency risk profile: are usdt and usdc safe?



