guonan
2025-07-08 687d15815ed738173c5a82495f0056fb2c9d7f25
优化
已修改2个文件
4 ■■■ 文件已修改
src/utils/map.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Home.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/map.js
@@ -200,8 +200,7 @@
    if (Cesium.defined(picked) && id) {
      const entity = picked?.id;
      const simStore = useSimStore()
      if (entity && !simStore.openDia) {
      if (entity && !simStore.openDia && entity.attrs.type == '泥位计') {
        let obj = {
          deviceName: entity.attrs.deviceName,
          latitude: entity.attrs.latitude,
src/views/Home.vue
@@ -129,7 +129,6 @@
  getAllCode().then((res) => {
    // 北京市所有村以及街道code
    simStore.townCodeAll = extractAllChildrenInfoUnique(res.data[0].children);
    console.log(simStore.townCodeAll,'aaaaaaaaa')
  });
  setupTokenRefresh(); // 获取宏图token
  // getSimData(); //测试tr后端