Explorar o código

修改设备台账分屏报错

haojianlong %!s(int64=5) %!d(string=hai) anos
pai
achega
4c37190e55
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/screen/splitscreen/equipledger/index.vue

+ 1 - 1
src/views/screen/splitscreen/equipledger/index.vue

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