YZM 1 anno fa
parent
commit
5d49b2f4e9
1 ha cambiato i file con 11 aggiunte e 3 eliminazioni
  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",