Forráskód Böngészése

fix: 搜索限制

lxf 2 hete
szülő
commit
89540e839d
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      src/components/pageComponents/locationSearch.vue

+ 2 - 0
src/components/pageComponents/locationSearch.vue

@@ -45,6 +45,8 @@ const remoteMethod = async (keyword) => {
         const params = {
             key: MAP_KEY,
             keyword,
+            region: '河北省',
+            region_fix: 1,
             location: props.userLocation,
         };
         await VE_API.old_mini_map.getCtiyList({ word: keyword }).then(({ data }) => {