diff --git a/.env.production b/.env.production index 39af49f..bd380cd 100644 --- a/.env.production +++ b/.env.production @@ -1 +1,2 @@ -VITE_API_BASE_URL = http://192.168.1.175:58080 \ No newline at end of file +# VITE_API_BASE_URL = http://192.168.1.175:58080 +VITE_API_BASE_URL = http://192.168.0.133:58080 \ No newline at end of file diff --git a/src/pages/projectSelect/index.vue b/src/pages/projectSelect/index.vue index 62d68b3..c4f6734 100644 --- a/src/pages/projectSelect/index.vue +++ b/src/pages/projectSelect/index.vue @@ -25,16 +25,12 @@ const getProjectList = async () => { const handleWebViewMessage = (event) => { getProjectModelListApi({ projectId: event.detail.data[0].projectInfo.proId }).then((res) => { if (res?.data?.length > 0) { - const modelInfoList = { - modelInfoList: res.data, - projectId: event.detail.data[0].projectInfo.proId, - token: memberStore.token, - } - const ctx = uni.requireNativePlugin('bonus-textodule') ctx.openNativePage( { - modelInfoList: modelInfoList, + modelInfoList: res.data, + projectId: event.detail.data[0].projectInfo.proId, + token: memberStore.token, }, (result) => {}, ) diff --git a/src/static/map.html b/src/static/map.html index b3f2427..dbafe8e 100644 --- a/src/static/map.html +++ b/src/static/map.html @@ -7,7 +7,7 @@ + src="https://api.map.baidu.com/api?v=3.0&&type=webgl&ak=iqyZkSZPurf61MhFV7hesbDukHdMBEEb"> 百度地图