Commit 73b5c8f4 authored by 郭志伟's avatar 郭志伟

Merge branch 'fix/goods' into 'master'

fix: 众安支付

See merge request !119
parents 65ff7a49 90a5f75c
......@@ -445,6 +445,9 @@ export default {
} else {
this.formData.relation = "1";
}
if (this.mongoToken && !this.formData.selfPhone) {
this.formData.selfPhone = this.userInfo.phoneNoMask;
}
if (!this.formData.selfName) {
const selfInfo = this.familyList.find(item => item.relation === 1);
this.selfInfoReadonly = !!selfInfo;
......
......@@ -61,7 +61,7 @@ export default {
state: 1
}
};
} else if (tradeType === "JSAPI" && !res.payInfo.payUrl) {
} else if (tradeType === "JSAPI" && !res.payInfo.payUrl && !res.payUrl) {
payInfo = res.payInfo;
} else {
payInfo = {
......
......@@ -15,7 +15,7 @@ export default {
};
},
mounted() {
if (document.referrer.indexOf("tenpay") > -1) {
if (document.referrer.length > 0) {
window.location.href =
window.location.origin +
"/payWaiting" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment