增加三维大铁返回按钮
This commit is contained in:
parent
45a2c925ea
commit
85e1faa60c
@ -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');
|
||||
this.jlmap3d.eventoff();
|
||||
this.jlmap3d.animateoff();
|
||||
// this.jlmap3d = null;
|
||||
}
|
||||
|
||||
|
||||
// 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;
|
||||
history.go(-1);
|
||||
|
||||
},
|
||||
showplane() {
|
||||
|
Loading…
Reference in New Issue
Block a user