|
@@ -39,7 +39,7 @@ export default {
|
|
mounted() {
|
|
mounted() {
|
|
this.cadWidth = document.getElementById('page-content').offsetWidth;
|
|
this.cadWidth = document.getElementById('page-content').offsetWidth;
|
|
this.cadHeight = document.getElementById('page-content').offsetHeight;
|
|
this.cadHeight = document.getElementById('page-content').offsetHeight;
|
|
- this.equip = this.$route.query.equip;
|
|
|
|
|
|
+ this.equip = this.$route.query.equip || {};
|
|
this.init();
|
|
this.init();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|