Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Page({
- data: {
- text: 'Click me get my posts!',
- motto: helloData,
- userInfo: {},
- hasUserInfo: false,
- canIUse: wx.canIUse('button.open-type.getUserInfo')//使用 button 组件,并将 open-type 指定为 getUserInfo 类型,获取用户基本信息
- }
- })
Add Comment
Please, Sign In to add comment