1

parent a206f8f9
...@@ -219,6 +219,7 @@ let listParams = { ...@@ -219,6 +219,7 @@ let listParams = {
size: 10, size: 10,
lon: 106.68650025025502, lon: 106.68650025025502,
lat: 26.567192352601154, lat: 26.567192352601154,
categoryIds: ['6'],
}; };
const coupon = ref([]); const coupon = ref([]);
const top = ref(null); const top = ref(null);
...@@ -369,6 +370,7 @@ const reset = () => { ...@@ -369,6 +370,7 @@ const reset = () => {
size: 10, size: 10,
lon: 106.68650025025502, lon: 106.68650025025502,
lat: 26.567192352601154, lat: 26.567192352601154,
categoryIds: ['6'],
}; };
shopCardData.value = {}; shopCardData.value = {};
cardData.value = []; cardData.value = [];
......
...@@ -103,11 +103,12 @@ let total; ...@@ -103,11 +103,12 @@ let total;
const paramsId = { const paramsId = {
parentId: null, parentId: null,
}; };
const listParams = { let listParams = {
current: 1, current: 1,
size: 10, size: 10,
lon: 106.68650025025502, lon: 106.68650025025502,
lat: 26.567192352601154, lat: 26.567192352601154,
categoryIds: ['6'],
}; };
onMounted(() => { onMounted(() => {
getMerchantList(); getMerchantList();
...@@ -162,7 +163,13 @@ const popular = (communityName) => { ...@@ -162,7 +163,13 @@ const popular = (communityName) => {
}; };
// 重置数据 // 重置数据
const reset = () => { const reset = () => {
listParams.current = 1; listParams = {
current: 1,
size: 10,
lon: 106.68650025025502,
lat: 26.567192352601154,
categoryIds: ['6'],
};
cardData.value = []; cardData.value = [];
show.value = false; show.value = false;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment