Browse Source

报错跟踪

shish 3 weeks ago
parent
commit
731d3a042c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      mallApp/src/pages/billing/affirmGhs.vue
  2. 1 1
      mallApp/src/pages/order/buy.vue

+ 1 - 1
mallApp/src/pages/billing/affirmGhs.vue

@@ -784,8 +784,8 @@ export default {
 			let hdId = this.option.hdId ? this.option.hdId : 0
 			let account = this.option.account ? this.option.account : 0
 
-			inform({hdId:hdId,account:account,page:'affirmGhs'})
 			if(Number(hdId)<=0 || Number(account)<=0){
+				inform({hdId:hdId,account:account,page:'affirmGhs'})
 				this.$util.confirmModal({content:'网络异常,请重新提交'},() => {
 					uni.reLaunch({url:'/pages/home/recent'})
 				})

+ 1 - 1
mallApp/src/pages/order/buy.vue

@@ -262,8 +262,8 @@ export default {
       let hdId = this.option.hdId?this.option.hdId:0
       let account = this.option.account?this.option.account:0
 
-      inform({hdId:hdId,account:account,page:'buy'})
       if(Number(hdId)<=0 || Number(account)<=0){
+        inform({hdId:hdId,account:account,page:'buy'})
         this.$util.confirmModal({content:'网络异常,请重新提交'},() => {
           uni.reLaunch({url:'/pages/home/recent'})
         })