xuzhiheng 5 năm trước cách đây
mục cha
commit
30bf6bca14
1 tập tin đã thay đổi với 18 bổ sung8 xóa
  1. 18 8
      src/web/templates/weixin/vipsubscribe/vip_upgrade.html

+ 18 - 8
src/web/templates/weixin/vipsubscribe/vip_upgrade.html

@@ -899,14 +899,14 @@
 				areas_arr = null
 				// areasArr = null
 				if(buyArea !== ""&&buyArea !== undefined){
-					for(let province in buyArea){
-			    		let citys = buyArea[province];
-			    		if(citys.length===0){
-							allArea[province] = [];
-			    		}else{
-			    			allArea[province] = citys;
-			    		}
-			    	}
+					// for(let province in buyArea){
+			  //   		let citys = buyArea[province];
+			  //   		if(citys.length===0){
+					// 		allArea[province] = [];
+			  //   		}else{
+			  //   			allArea[province] = citys;
+			  //   		}
+			  //   	}
 					for(let province in buyArea){
 			    		let citys = buyArea[province];
 			    		if(citys.length===0){
@@ -916,6 +916,16 @@
 			    		}
 			    	}
 				}
+				if(area !== ""&&area !== undefined){
+					for(let province in area){
+						let citys = area[province];
+						if(citys.length===0){
+							allArea[province] = [];
+						}else{
+							allArea[province] = citys;
+						}
+					}
+				}
 			}
 			//
 			// if(sessionStorage.vipSubSelectIndustryAdd!==""&&sessionStorage.vipSubSelectIndustryAdd!==undefined){