张延森 4 jaren geleden
bovenliggende
commit
b7840e3b00
1 gewijzigde bestanden met toevoegingen van 2 en 4 verwijderingen
  1. 2
    4
      src/components/queryCompents/areaQuery/index.vue

+ 2
- 4
src/components/queryCompents/areaQuery/index.vue Bestand weergeven

@@ -70,11 +70,9 @@ export default {
70 70
         return []
71 71
       }
72 72
 
73
-      const roomBussines = dicts.roomBussines
74
-      if (!roomBussines) {
75
-        getBusinessCity(2, val1.value)
76
-      }
73
+      getBusinessCity(2, val1.value)
77 74
 
75
+      const roomBussines = dicts.roomBussines
78 76
       return (roomBussines || []).map(x => ({...x, text: x.label}))
79 77
     })
80 78