收藏
回答

wx.createUserInfoButton, ios 11.4.1 调用报错

框架类型 问题类型 操作系统 操作系统版本 手机型号 微信版本
小游戏 Bug iOS ios 11.4.1 iphone8 plus 6.6.6

- 当前 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)


回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容