1用wx:key=”*this” 消除小程序此警告
<view class='contain-box' wx:key="*this" wx:for='{{goodsdatas}}'>
2小程序content内容跨行显示+“\r\n”
wx.showModal({
title: '提示',
content: '当前收货地址超出配送范围\r\n拨打愉康客服热线进行咨询',
success: function (res) {
if (res.confirm) {
wx.makePhoneCall({
phoneNumber: "075522670426"
})
} else if (res.cancel) {
console.log('用户点击取消')
}
}
})