yunxing 4 роки тому
батько
коміт
0556e7186c
1 змінених файлів з 4 додано та 1 видалено
  1. 4 1
      src/views/equipmentFacilities/MoreEquipmentList.vue

+ 4 - 1
src/views/equipmentFacilities/MoreEquipmentList.vue

@@ -177,8 +177,11 @@ export default {
         ...mapGetters(['plazaId', 'smsxt', 'categoryId']),
     },
     created() {
-       console.log(this.$route.params.type)
         this.system_code = this.smsxt
+        // 从全局搜索跳转到该页面
+        if (this.$route.params.type === 'all') {
+            this.system_code = '全部'
+        }
         this.onLoad()
     },
     beforeMount() {},