1.优化登录流程

2.uniapp评价完成后要连需3-4次返回才能到首页(体验不是很好)
This commit is contained in:
gaoxs
2020-06-03 10:58:31 +08:00
parent 15694002e8
commit d7e0875381
8 changed files with 94 additions and 65 deletions

View File

@ -482,9 +482,9 @@
uni.showLoading({
title: "生成订单中"
});
let form = {}
let from = {}
if (this.$deviceType == 'app') {
form.form = 'app'
from.from = 'app'
}
createOrder(this.orderGroupInfo.orderKey, {
realName: this.contacts,
@ -500,7 +500,7 @@
from: this.from,
mark: this.mark || "",
shippingType: parseInt(shipping_type) + 1,
...form
...from
})
.then(res => {
uni.hideLoading();