onBackButton 逻辑处理
methods:{
onBackButton (){
//return true 中止返回操作
}
},
mounted() {
document.addEventListener("backbutton", this.onBackButton, false);
this.firstFlag = true;
this.getBuildingPhotoCache();
},
beforeDestroy() {
document.removeEventListener("backbutton", this.onBackButton, false);
},