
小程序
wakakaHBW
这个作者很懒,什么都没留下…
展开
-
uniapp 小程序授权登录时 获取不到用户头像等信息 只能得到灰色缺省头像以及nickname 为“微信用户”等
1. 先例,先抛问题以前写小程序,获取用户授权时都用geiUserInfo(),代码如下<button open-type="getUserInfo" @getuserinfo="getUserInfo"></button>但如今,却只能得到一个缺省的灰色头像,和nickname = “微信用户”,两个数据,其它的年龄以及地区等什么都没有,更别提授权弹出框了!2 .解决办法查阅了很多网页,试了各种办法!最后发现了一个官方的公告,公告说 在4月13日后才会启用get原创 2021-04-04 02:10:59 · 7069 阅读 · 1 评论 -
uniapp Vant Weapp使用van-dropdown 下拉菜单时,关闭后遮罩下面的盒子无法触发点击
是 uni-app 底层的问题,你可以将 @vant/weapp/dropdown-item/index.wxml 里面的 van-popup 的事件改成驼峰写法 afterEnter 和 afterLeave 就可以了原创 2020-08-28 10:21:03 · 5493 阅读 · 22 评论 -
小程序报错Component is not found in path “wxcomponents/vant-weapp/button/index“ (using by “pages/....)
本文针对的是vant Weapp UI的引用报错1. 在uni-app框架开发小程序,引入了vant Weapp UI总是莫名报错:(1)VM22:1 MiniProgramError Cannot read property 'name' of undefined TypeError: Cannot read property 'name' of undefined(2) VM22:1 SystemError (jsEnginScriptError) Component is not foun原创 2020-08-25 11:02:57 · 5340 阅读 · 1 评论 -
微信小程序,Mpvue框架,引入iView Weapp UI库
Mpvue框架,引入iView Weapp UI库出错Component is not found in path “iView/button/index” (using by “pages/index/main”)Error: Component is not found in path “iView/button/index” (using by “pages/index/main”)iView Weapp 是针对小程序开发的Ui组件库Mpvue是将Vue应用到小程序的框架,类似的还原创 2020-07-28 16:54:13 · 596 阅读 · 0 评论