瀏覽代碼

交友筛选

wkyy 3 年之前
父節點
當前提交
d4eac4f7e5
共有 1 個文件被更改,包括 8 次插入6 次删除
  1. 8 6
      pages/friend/index.vue

+ 8 - 6
pages/friend/index.vue

@@ -222,8 +222,7 @@
 		onLoad(op) {
 			if(this.carhelp.getPersonInfo().id != null) {
 				this.data.memberId = this.carhelp.getPersonInfo().id;
-			}
-			this.getFriendList();
+			}
 			this.getConditionList();
 		},
 		onReachBottom() {
@@ -284,13 +283,13 @@
 					this.data.qy = this.qyList[0].name;
 				}
 				if(this.data.xl == ''){
-					this.data.xl = this.qyList[0].name;
+					this.data.xl = this.xlList[0].name;
 				}
 				if(this.data.hyqk == ''){
-					this.data.hyqk = this.qyList[0].name;
+					this.data.hyqk = this.hyqkList[0].name;
 				}
 				if(this.data.znqk == ''){
-					this.data.znqk = this.qyList[0].name;
+					this.data.znqk = this.znqkList[0].name;
 				}
 				
 				this.getFriendList();
@@ -365,7 +364,10 @@
 						title: error
 					})
 				})
-			},
+			},
+			onReady() {
+				this.getFriendList();
+			}
 		}
 	}
 </script>