|
@@ -921,6 +921,16 @@
|
|
|
for(let i in areasArr[province]){
|
|
|
cityArr.push(areasArr[province][i]);
|
|
|
}
|
|
|
+ //
|
|
|
+ for (var x = 0; x < cityArr.length; x++) {
|
|
|
+ for (var j =x+1; j <cityArr.length; ) {
|
|
|
+ if (cityArr[x] === cityArr[j]){
|
|
|
+ cityArr.splice(j, 1);
|
|
|
+ }
|
|
|
+ else j++;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //
|
|
|
areasArr[province] = cityArr;
|
|
|
}
|
|
|
if(province === "全国"){
|
|
@@ -1112,6 +1122,9 @@
|
|
|
console.log("proprice",proPrice);
|
|
|
cPrice = (Number(cPrice) + Number(proPrice)).toFixed(1);
|
|
|
}
|
|
|
+// if(effect === "notnow"){
|
|
|
+// cPrice = cPrice -(completeMonth - oldMonthPrice);
|
|
|
+// }
|
|
|
if(cPrice < 0){
|
|
|
cPrice = 0;
|
|
|
}
|