yunxing %!s(int64=4) %!d(string=hai) anos
pai
achega
0556e7186c
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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() {},