Browse Source

报错跟踪

shish 3 tuần trước cách đây
mục cha
commit
731d3a042c

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

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