添加单引号或双引号即可,例:
var type = "'"+n.bankCard.type+"'"; var number = "'"+n.bankCard.number+"'"; var moneyChange = "'"+n.moneyChange+"'"; var userName = "'"+n.bankCard.userName+"'"; var adress = "'"+n.bankCard.adress+"'"; var phone = "'"+n.bankCard.phone+"'"; var remark = "'"+n.remark+"'";