소스 검색

index bug ok

zizhong.wang 2 년 전
부모
커밋
253293f498
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      pages/index/index.vue

+ 2 - 2
pages/index/index.vue

@@ -159,7 +159,7 @@ export default {
 	
 	let that = this;
 	this.isAuth = getApp().globalData.isAuth;
-	if (this.isAuth){
+	if (this.isAuth && this.owner_id > 0){
 		that.getHeatList();
 	}
 	else{
@@ -193,7 +193,7 @@ export default {
 	//this.getUserInfo();	
 	//this.getUserInfo();
 	this.isAuth = getApp().globalData.isAuth;
-	if (this.isAuth){
+	if (this.isAuth && this.owner_id > 0){
 		that.getHeatList();
 	}