wx.createUserInfoButton, ios 11.4.1 调用报错
- 当前 Bug 的表现(可附上截图)
-
预期表现
-
复现路径
-
提供一个最简复现 Demo
let btn_opts = {
type: ‘image’,
image:‘xxxx’,
type: ‘text’,
text: ‘获取用户信息’,
style: {
left: Math.round(opts[‘x’]*w_ratio),
top: Math.round(opts[‘y’]*h_ratio),
width: Math.round(opts[‘w’]*w_ratio),
height: Math.round(opts[‘h’]*h_ratio),
}
};
let button = this._wx.createUserInfoButton(btn_opts)
