@@ -96,10 +96,10 @@
}], //将传参修改为formData格式 注释则为JSON格式
}).then(function(rs) {
if(rs.data.code === 200) {
- window.location.href = rs.data.msg;
+ // window.location.href = rs.data.msg;
console.log(rs.data)
}else {
-
+ alert(rs.data.msg)
}
}).catch(function(e) {
console.log(e);