This commit is contained in:
parent
71a2ee88ff
commit
67be65ccde
|
@ -3,7 +3,7 @@ import axios from "axios";
|
|||
|
||||
// 创建axios 实例
|
||||
const instacne = axios.create({
|
||||
baseURL: "https://crmeb-test.shop.lihaink.cn/api",
|
||||
baseURL: "https://shop.lihaink.cn/api",
|
||||
timeout: 30000,
|
||||
});
|
||||
|
||||
|
|
|
@ -39,8 +39,9 @@ const offAreaList = (e) => {
|
|||
// mitt.emit('map_info', info);
|
||||
// reload();
|
||||
if (route.query.type == "main") {
|
||||
let t = localStorage.getItem('local') || '';
|
||||
sendMsg({
|
||||
channel: "user-breed-datav",
|
||||
channel: t + "user-breed-datav",
|
||||
event: "changMap",
|
||||
data: {
|
||||
areaName: info.areaName,
|
||||
|
@ -255,12 +256,14 @@ onMounted(() => {
|
|||
if (e.areaName == info.areaName) {
|
||||
let c = list.value.find((item) => item.name == e.name);
|
||||
if (c) areaListRef.value.choseTownFn(c);
|
||||
// router.push({
|
||||
// path: '/delivery',
|
||||
// query: {
|
||||
// name: e.name
|
||||
// }
|
||||
// })
|
||||
router.push({
|
||||
path: "/indexc",
|
||||
query: {
|
||||
areaCode: appStore.address.areaCode,
|
||||
streetCode: c.code,
|
||||
name: e.name,
|
||||
},
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -499,7 +499,8 @@ const initMap = () => {
|
|||
console.log('点击',params);
|
||||
if (params.componentType === 'geo') {
|
||||
if(route.query.type=='main') {
|
||||
sendMsg({ channel: 'user-breed-datav', event: 'changMap', data: {
|
||||
let t = localStorage.getItem('local') || '';
|
||||
sendMsg({ channel: t + 'user-breed-datav', event: 'changMap', data: {
|
||||
areaName: mapType.name,
|
||||
name: params.name
|
||||
}})
|
||||
|
|
Loading…
Reference in New Issue