- 博客(6)
- 收藏
- 关注
原创 新掌握处理数据方法小记
… 超前引用如: a=[1,2,3,4] b = [2,3,4,5] c= […a,…b]返回 c=[1,2,3,4,2,3,4,5]new set() 过滤去重c = new set©则返回 c = [1,2,3,4,5]可配合 map使用 去除复杂重复数据
2022-05-14 17:26:51
126
原创 uniapp发布H5踩坑小记
需要在manifest.json中做H5配置 运行的基础路径配置 如果在域名为/h5目录下则配置/h5/ 如果是设置./就是相对路径 可以本地直接打开 没做配置部署到服务器会报错 报错内容为index.e335d644.js:1 ChunkLoadError: Loading chunk pages-index-index failed....
2022-05-14 17:20:55
1203
原创 uniapp之unipush踩坑实记
unipush里面的addEventListener里面的receive 监听 当消息在系统消息栏显示的时候 会不触发解决方案先设置消息不在系统消息栏通知plus.push.setAutoNotification(false)再自己创建消息发哦系统消息plus.push.createMessage( message.content);然后就可以在receive回调里面做对应的推送处理了PS。plus.push.setAutoNotification(false)仅支持透传消息!!
2022-02-24 15:52:29
705
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅