大屏分屏prdType写死

This commit is contained in:
fan 2021-10-14 09:35:32 +08:00
parent 37aa25a453
commit 2028a73d19
2 changed files with 4 additions and 1 deletions

View File

@ -79,9 +79,10 @@ export default {
},
async beforeDestroy() {
await this.$store.dispatch('map/mapClear');
this.$store.dispatch('training/setPrdType', '');
},
async mounted() {
this.$store.dispatch('training/setPrdType', this.$route.query.prdType);
this.$store.dispatch('training/setPrdType', '07');
await this.setWindowSize();
await this.initLoadData();
this.disPlay = true;

View File

@ -84,8 +84,10 @@ export default {
},
async beforeDestroy() {
await this.$store.dispatch('map/mapClear');
this.$store.dispatch('training/setPrdType', '');
},
async mounted() {
this.$store.dispatch('training/setPrdType', '03');
await this.setWindowSize();
await this.initLoadData();
this.disPlay = true;