소스 검색

fix: 搜索限制

lxf 2 주 전
부모
커밋
89540e839d
1개의 변경된 파일과 2개의 추가작업 그리고 0개의 파일을 삭제
  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 }) => {