fixed bug 8.11

This commit is contained in:
2020-08-11 09:46:05 +08:00
parent 003bc07c6b
commit 4739ef71a9
8 changed files with 21 additions and 13 deletions

View File

@@ -353,7 +353,12 @@ export default {
}).then(res => {
this.$refs.uToast.show({
title: res.message,
type: res.errCode == 0 ? 'success' : 'warning',
duration: 1000,
callback: () => {
if(res.errCode == 0) {
this.showSpec = false;
}
}
})
})
},
@@ -495,6 +500,7 @@ export default {
}
this.$u.api.settlementOrder(params).then(res => {
if(res.errCode == 0) {
// console.log('type' + this.type);
this.$store.commit('setOrderType', this.type);
this.$store.commit('updateOrderInfo', res.data)
this.$u.route({