刷新

parent 16ff8ee6
......@@ -215,7 +215,7 @@ const cardData2 = ref([]);
const shopCardData = ref({});
const current = ref(0);
const swiperList = ref(['../../static/index/guiyang.png', '../../static/index/guiyang.png']);
const listParams = {
let listParams = {
current: 1,
size: 10,
lon: 106.68650025025502,
......@@ -344,7 +344,12 @@ const recommendedClassification = () => {
};
// 重置数据
const reset = () => {
listParams.current = 1;
listParams = {
current: 1,
size: 10,
lon: 106.68650025025502,
lat: 26.567192352601154,
};
shopCardData.value = {};
cardData.value = [];
cardData1.value = [];
......
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