YZM 1 жил өмнө
parent
commit
5d49b2f4e9
1 өөрчлөгдсөн 11 нэмэгдсэн , 3 устгасан
  1. 11 3
      pages/user/index.vue

+ 11 - 3
pages/user/index.vue

@@ -105,9 +105,17 @@ export default {
 					url: "/pages/guanzhu/index",
 				})
 			}else if(type==8){
-				uni.navigateTo({
-					url: "/pages/chuanghome/index",
-				})
+				var orfamily=uni.getStorageSync("family_id");
+				if(orfamily){
+					uni.navigateTo({
+						url: "/pages/qiehuan/index",
+					})
+				}else{
+					uni.navigateTo({
+						url: "/pages/chuanghome/index",
+					})
+				}
+				
 			}else if(type==10){
 				uni.navigateTo({
 					url: "/pages/luru/index",