![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
小程序
小可爱霜
一只小白的踩坑和排坑的旅程
展开
-
由getUserInfo获取用户信息,现在改为getUserProfile获取用户信息
由getUserInfo获取用户信息,现在改为getUserProfile获取用户信息 官方又更新啦 报错信息如下:res.authSetting[‘scope.userInfo’]等于undefined 解决方法 wxml不变,js部分用getUserProfile代替原来的getuserinfo getUserInfo() { let that = this; wx.getSetting({ success(res) { wx.showModal({ ti原创 2021-04-13 11:37:16 · 1251 阅读 · 0 评论 -
前端城市地址
小程序前端城市地址 图1 1.新建个文件夹姑且命名为adderss <!--地址页封装 adderss/index.wxml--> <view> <view class="search_v"> <view class="search fl"> <input placeholder="中文/拼音/首字母" class='test1' bindinput='bindSarchInput' placeholder-class='sea原创 2021-02-18 10:38:08 · 878 阅读 · 0 评论