问题模块 | 框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|---|
API和组件 | 小程序 | Bug | wx.showModal | 微信iOS客户端 | 7.0.7 | 2.7.4 |
wx.showModal({ title: "是否确认支付" , content: `¥${sumPrice}\n未拼团成功,可以随时退款\n拼团成功后,暂不支持退款`, showCancel: true , cancelText: "取消" , cancelColor: "#000000" , confirmText: "确定支付" , confirmColor: "#f1a818" , ... }); |
上面是代码片段,其中 有两个\n,应该分为三行内容,但是在苹果手机中,最后一行内容消失不见
下面是安卓手机,显示正常
网友回复
是柿子啊:
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)