splice bug
This commit is contained in:
@@ -1235,10 +1235,6 @@ $.config = {router: false}
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
document.addEventListener('plusready', onPlusReady, false);
|
document.addEventListener('plusready', onPlusReady, false);
|
||||||
function onPlusReady(){
|
function onPlusReady(){
|
||||||
@@ -1549,9 +1545,8 @@ function loadMyCollectCity(){
|
|||||||
cityDetaiVue.$data.citys = curDatas;
|
cityDetaiVue.$data.citys = curDatas;
|
||||||
}else{
|
}else{
|
||||||
if(positionCity){
|
if(positionCity){
|
||||||
curDatas.splice(0,0, positionCity)
|
cityDetaiVue.$data.citys.push(positionCity);
|
||||||
}
|
}
|
||||||
cityDetaiVue.$data.citys = curDatas;
|
|
||||||
|
|
||||||
$("#cityInfo").hide()
|
$("#cityInfo").hide()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user