YZM 1 year ago
parent
commit
5d49b2f4e9
1 changed files with 11 additions and 3 deletions
  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",