增加三维大铁返回按钮

This commit is contained in:
sunzhenyu 2021-06-04 18:05:12 +08:00
parent 45a2c925ea
commit 85e1faa60c

View File

@ -10,9 +10,9 @@
<el-button-group>
<!-- <el-button type="primary" @click="raystand">站台选择</el-button> -->
<!-- <el-button type="primary" @click="cctvplane">{{ cctvbuttonmsg }}</el-button>
<el-button type="primary" @click="showplane">{{ showbuttonmsg }}</el-button>
<el-button type="primary" @click="back">{{backmsg}}</el-button> -->
<!-- <el-button type="primary" @click="cctvplane">{{ cctvbuttonmsg }}</el-button> -->
<!-- <el-button type="primary" @click="showplane">{{ showbuttonmsg }}</el-button> -->
<el-button type="primary" @click="back">{{backmsg}}</el-button>
</el-button-group>
</div>
@ -276,18 +276,20 @@ export default {
back() {
if(this.$route.query.type == "DRIVE"){
store.dispatch('LogOut').then(() => {
location.reload();
});
}else{
this.$emit('showdriving');
// if(this.$route.query.type == "DRIVE"){
// store.dispatch('LogOut').then(() => {
// location.reload();
// });
// }else{
// this.$emit('showdriving');
// this.jlmap3d.eventoff();
// this.jlmap3d.animateoff();
// // this.jlmap3d = null;
// }
this.jlmap3d.eventoff();
this.jlmap3d.animateoff();
// this.jlmap3d = null;
}
this.jlmap3d = null;
history.go(-1);
},
showplane() {