Browse Source

代码修改

tanxue 6 hours ago
parent
commit
0403902621
2 changed files with 2 additions and 3 deletions
  1. 1 2
      pages/client/ShouYe/shouye.vue
  2. 1 1
      pages/kehu/shouye/shouye.vue

+ 1 - 2
pages/client/ShouYe/shouye.vue

@@ -79,8 +79,7 @@
 			data.kechengList = kechengList || [];
 			data.lianxiCount = lianxiCount;
 			data.lianxiList = lianxiList || [];
-			data.hetongList = hetong ? [hetong] : [];
-			console.log('data.hetongList',data.hetongList);
+			data.hetongList = hetong.id ? [hetong] : [];
 		})
 	}
 

+ 1 - 1
pages/kehu/shouye/shouye.vue

@@ -43,7 +43,7 @@
 				hetong
 			} = res.data;
 			
-			data.hetongList = hetong ? [hetong] : [];
+			data.hetongList = hetong.id ? [hetong] : [];
 		})
 	}