update
This commit is contained in:
@@ -530,7 +530,11 @@ function showRegionInfo(city){
|
||||
function collectCity(city, index){
|
||||
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {
|
||||
clicked('../user/codeSms.html',true,false,{},{},function(){
|
||||
plus.webview.getWebviewById('views/house/houseDetail.html').reload();
|
||||
collectCity(city)
|
||||
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
|
||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
||||
|
||||
})
|
||||
return;
|
||||
} else {
|
||||
@@ -571,12 +575,20 @@ function docollectCity(city){
|
||||
}
|
||||
}
|
||||
if(isLast){
|
||||
window.location.reload();
|
||||
//window.location.reload();
|
||||
$("a[href='#tabQuotation0']").click();
|
||||
}
|
||||
myDatasVue.$data.cityDatas = newRet1;
|
||||
citysVue.$data.citys = newRet2
|
||||
}else{
|
||||
alert(msg);
|
||||
var datas = myDatasVue.$data.cityDatas
|
||||
for(var i in datas){
|
||||
var obj = datas[i]
|
||||
if(obj.city == city){
|
||||
obj.colled = true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user