diff --git a/src/views/Home/components/Market/Index.vue b/src/views/Home/components/Market/Index.vue index af503c5..61aa38f 100644 --- a/src/views/Home/components/Market/Index.vue +++ b/src/views/Home/components/Market/Index.vue @@ -52,6 +52,7 @@ import { getListScene, getSurveyTemplates } from '@/api/home'; import Search from '@/components/Search/Index.vue'; import { imgMap } from '@/utils/imgMap'; import { throttle } from '@/utils/utils'; +import { index } from '@/views/HomeSearch/Hooks/useSurveySearch'; const searchParm = { index: 1 @@ -72,7 +73,7 @@ let loadDataSingle = false; */ watch(searchValue, (value) => { !value && (keyword = ''); - getMarketInfo(active.value); + searchParm.index = 1; }); const getTableList = async () => {