shish 2 лет назад
Родитель
Сommit
da67d60bcd
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      ghsApp/src/pagesPurchase/components/pageSuccess.vue

+ 6 - 6
ghsApp/src/pagesPurchase/components/pageSuccess.vue

@@ -133,8 +133,8 @@ export default {
 						if(res.data.status == 4){
 						if(res.data.status == 4){
 							that.$msg(res.msg)
 							that.$msg(res.msg)
 							setTimeout(function(){
 							setTimeout(function(){
-								uni.navigateBack()
-							},1300)
+								that.pageTo({url: '/pagesPurchase/info?orderSn='+that.info.orderSn,type:2})
+							},1100)
 						}
 						}
 					}
 					}
 				})
 				})
@@ -185,8 +185,8 @@ export default {
 					if(res.code == 1){
 					if(res.code == 1){
 						that.$msg(res.msg)
 						that.$msg(res.msg)
 						setTimeout(function(){
 						setTimeout(function(){
-							uni.navigateBack()
-						},1300)
+							that.pageTo({url: '/pagesPurchase/info?orderSn='+that.info.orderSn,type:2})
+						},1100)
 					}
 					}
 				})
 				})
 			})
 			})
@@ -239,8 +239,8 @@ export default {
 				if(res.code == 1){
 				if(res.code == 1){
 					that.$msg(res.msg)
 					that.$msg(res.msg)
 					setTimeout(function(){
 					setTimeout(function(){
-						uni.navigateBack()
-					},1300)
+						that.pageTo({url: '/pagesPurchase/info?orderSn='+that.info.orderSn,type:2})
+					},1100)
 				}
 				}
 			})
 			})
 		},
 		},