Commit 9ef8bdfc authored by 石建新(贵阳日报)'s avatar 石建新(贵阳日报)
parents ea978e7b e96ba78f
...@@ -2,7 +2,7 @@ import { createSSRApp } from 'vue'; ...@@ -2,7 +2,7 @@ import { createSSRApp } from 'vue';
import App from './App.vue'; import App from './App.vue';
import store from './store'; import store from './store';
import '@/assets/iconfont/iconfont.css'; // 引入自定义图标样式文件 import '@/assets/iconfont/iconfont.css'; // 引入自定义图标样式文件
import Vconsole from 'vconsole'; // import Vconsole from 'vconsole';
import './styles/flex.scss'; import './styles/flex.scss';
import { install } from './directive'; import { install } from './directive';
// 字体 // 字体
...@@ -12,8 +12,8 @@ export function createApp() { ...@@ -12,8 +12,8 @@ export function createApp() {
const app = createSSRApp(App); const app = createSSRApp(App);
app.component('Search', Search); app.component('Search', Search);
install(app); install(app);
const vConsole = new Vconsole(); // const vConsole = new Vconsole();
app.use(store, vConsole); app.use(store);
return { return {
app, app,
}; };
......
...@@ -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