Эх сурвалжийг харах

外部app跳转接受参数

DELL 3 жил өмнө
parent
commit
20f7de2a91

+ 10 - 0
src/pages/ticketBox/detail.vue

@@ -157,6 +157,16 @@
 			if (opthios.type) {
 				uni.setStorageSync('shareType', opthios.type)
 			}
+			
+			/**
+			* 外部app跳转接受的参数
+			* shareUid: 用户ID
+			* shareType: 分享类型
+			* */
+			if(opthios.uid) {
+				uni.setStorageSync('shareUid', opthios.uid)
+				uni.setStorageSync('shareType', opthios.t)
+			}
 		},
 		
 		mounted() {