|
@@ -951,7 +951,13 @@
|
|
break
|
|
break
|
|
}
|
|
}
|
|
var str = industry[i].split("_")[1] !== '其他' ? industry[i].split("_")[1] : industry[i];
|
|
var str = industry[i].split("_")[1] !== '其他' ? industry[i].split("_")[1] : industry[i];
|
|
- arr.push(str)
|
|
|
|
|
|
+ if(str) {
|
|
|
|
+ if(industry[i] === '其他_其他') {
|
|
|
|
+ arr.push('其他')
|
|
|
|
+ } else {
|
|
|
|
+ arr.push(str)
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
$("#industry").text(arr.toString().replace(/,/g, " "));
|
|
$("#industry").text(arr.toString().replace(/,/g, " "));
|
|
$(".confirm").hide();
|
|
$(".confirm").hide();
|
|
@@ -1343,7 +1349,7 @@
|
|
city = localStorage.city;
|
|
city = localStorage.city;
|
|
}
|
|
}
|
|
if (localStorage.industry !== undefined && localStorage.industry !== "") {
|
|
if (localStorage.industry !== undefined && localStorage.industry !== "") {
|
|
- industry = localStorage.industry;
|
|
|
|
|
|
+ industry = localStorage.industry.replace(/其他_其他/g, '其他');
|
|
}
|
|
}
|
|
if (localStorage.buyclass !== undefined && localStorage.buyclass !== "") {
|
|
if (localStorage.buyclass !== undefined && localStorage.buyclass !== "") {
|
|
var text = JSON.parse(localStorage.buyclass) == [] ? '全部' : JSON.parse(localStorage.buyclass).toString()
|
|
var text = JSON.parse(localStorage.buyclass) == [] ? '全部' : JSON.parse(localStorage.buyclass).toString()
|