删除无用代码

This commit is contained in:
ival 2021-04-13 15:46:15 +08:00
parent 7b9bb93103
commit 4921b43e1b

View File

@ -218,7 +218,6 @@ export default {
}, },
setRuning(run) { setRuning(run) {
this.runing = run; this.runing = run;
this.$refs.demonMenu.hideScheduling(run);
}, },
end() { end() {
this.$emit('end'); this.$emit('end');
@ -229,12 +228,9 @@ export default {
async back() { async back() {
this.isGoback = true; this.isGoback = true;
if (this.projectDevice) { if (this.projectDevice) {
// || this.project === 'bjd'
clearSimulation(this.group).then(res=>{ clearSimulation(this.group).then(res=>{
this.$store.dispatch('training/over').then(() => { this.$store.dispatch('training/over').then(() => {
this.$store.dispatch('LogOut').then(() => { this.$store.dispatch('LogOut').then(() => {
// this.$store.dispatch('training/reset');
// this.$store.dispatch('map/mapClear');
location.reload(); location.reload();
}); });
}); });