Browse Source

跳转核销时增加判断是小程序还是app

htc 10 months ago
parent
commit
496237a4c6
1 changed files with 11 additions and 4 deletions
  1. 11 4
      pagesHouse/Verification/index.vue

+ 11 - 4
pagesHouse/Verification/index.vue

@@ -42,10 +42,17 @@
 					}
 				})
 			},
-			check(item) {
-				uni.navigateTo({
-					url: '/pagesHouse/Verification/check?=&boatNo='+item.BOAT_NO
-				})
+			check(item) {
+				// #ifdef APP-PLUS
+					uni.navigateTo({
+						url: '/pagesHouse/Verification/checkApp?=&boatNo='+item.BOAT_NO
+					})
+				// #endif
+				// #ifdef MP-WEIXIN
+					uni.navigateTo({
+						url: '/pagesHouse/Verification/check?=&boatNo='+item.BOAT_NO
+					})
+				// #endif
 			}
 		}
 	}