1-1.问题:var data =
new FormData()
报错FormData is not defined
1-2.解决方法:
//formData格式(get传参)如下
// ?goodsList[0].goodsId=&goodsList[0].count=&goodsList[1].goodsId=&goodsList[1].count=
let goodFormData={};
if (goodsListSelected.length > 0) {
goodsListSelected.forEach((good,i) =>{
let keyId=`goodsList[${i}].goodsId`;
let keyCount=`goodsList[${i}].count`;
goodFormData[keyId]=good.goodsId;
goodFormData[keyCount]=good.count;
})
}
2-1.问题:
Object.append()
报错 is not defined
2-2.解决方法:
let keyId=`goodsList[${i}].goodsId`;
let keyCount=`goodsList[${i}].count`;
goodFormData[keyId]=good.goodsId;
goodFormData[keyCount]=good.count;
3-1.问题:
CSS :focus
伪类选择器不支持
3-2.解决方法:
//待定
4-1小程序css
box-sizing: border-box;
对border大小失效
5-1地图外层节点
border-radius
失效(在真机中),可以在外层用内弧度三角定位四角
持续更新中...
--by Affandi ⊙▽⊙
网友评论