This commit is contained in:
parent
14b29edc75
commit
230192d577
|
@ -8,8 +8,6 @@
|
|||
<title>优享地图</title>
|
||||
</head>
|
||||
<script type="text/javascript" src="https://api.tianditu.gov.cn/api?v=4.0&tk=4e6d9067f64ad8101ca0f4ceb7cb4083" crossorigin></script>
|
||||
<!-- https://tile1.tianditu.gov.cn/vts?t=vt&pk=gd1a&tk=75f0434f240669f4a2df6359275146d2&v=1.0 -->
|
||||
<!-- <script src="https://cdn.bootcss.com/vConsole/3.3.0/vconsole.min.js" crossorigin></script> -->
|
||||
<script>
|
||||
// var vConsole = new VConsole();
|
||||
</script>
|
||||
|
|
|
@ -154,8 +154,8 @@
|
|||
</div>
|
||||
</van-overlay>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
<script setup>
|
||||
import http from "@/utils/request";
|
||||
import gcj02towgs84 from "@/router/dtzh";
|
||||
import { onMounted, ref, reactive, nextTick } from "vue";
|
||||
|
@ -350,7 +350,6 @@ function addClickHandler(content, LngLats) {
|
|||
});
|
||||
let ss = item.xiang_xi_di_zhi_jing_wei_du.split(",");
|
||||
ss = gcj02towgs84(ss[0], ss[1]);
|
||||
|
||||
var LngLats = new T.Marker(new T.LngLat(ss[0], ss[1]), {
|
||||
icon: icons,
|
||||
});
|
||||
|
@ -416,8 +415,10 @@ const addClickHandls = (e) => {
|
|||
});
|
||||
};
|
||||
onMounted(() => {
|
||||
init();
|
||||
columnList();
|
||||
setTimeout(() => {
|
||||
init();
|
||||
columnList();
|
||||
}, 500);
|
||||
});
|
||||
const columnList = (e) => {
|
||||
http.get(`/srv/platform/map/columnList`).then((res) => {
|
||||
|
@ -495,7 +496,7 @@ const getlists = () => {
|
|||
});
|
||||
};
|
||||
</script>
|
||||
<style scoped lang='scss'>
|
||||
<style scoped lang="scss">
|
||||
.home_body {
|
||||
position: relative;
|
||||
}
|
||||
|
|
|
@ -10,14 +10,18 @@ export default defineConfig({
|
|||
host: "0.0.0.0", // ← 新增内容 ←
|
||||
hmr: true, // 自动热更新
|
||||
proxy: {
|
||||
"/generate": {
|
||||
"/generate": {
|
||||
// target: "http://192.168.2.86:8003",
|
||||
target: "https://aiai.cityme.com.cn",
|
||||
// target: "https://aiai.cityme.com.cn",
|
||||
target: "https://yx.cityme.com.cn/",
|
||||
|
||||
changeOrigin: true,
|
||||
// rewrite: (path) => path.replace(/\/test/, ""), //重写真实路径,替换/api
|
||||
},
|
||||
'/srv': {
|
||||
target: 'http://36.140.118.172:88',//沈涛
|
||||
// target: "https://aiai.cityme.com.cn",
|
||||
// target: 'http://36.140.118.172:88',//沈涛
|
||||
target: "https://yx.cityme.com.cn/",
|
||||
changeOrigin: true,
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue