yunxing 4 years ago
parent
commit
3ece0d7c24

+ 3 - 1
src/components/equipmentFacilities/Card.vue

@@ -62,7 +62,9 @@ export default {
             },
         }
     },
-    created() {},
+    created() {
+        console.log(this.number, this.type)
+    },
     components: {},
     beforeMount() {},
     mounted() {},

+ 1 - 1
src/views/equipmentFacilities/index.vue

@@ -30,7 +30,7 @@
                     :name='item.name'
                     :unit='item.unit'
                     :total='item.total'
-                    :numer='item.number'
+                    :number='item.number'
                     v-for='item in cardList'
                     :key='item.category_name'
                     @click.native='goToEquipment(item)'