Compare commits
No commits in common. "5e2b32f62ac9db847738d266551ce493183f695e" and "f26afc84c77bf480ae639ba897a6199efd8f91c5" have entirely different histories.
5e2b32f62a
...
f26afc84c7
|
@ -60,7 +60,7 @@ export function MapFun(mapObj) {
|
|||
/**
|
||||
* 定义地物编辑服务
|
||||
*/
|
||||
const featureService = L.supermap.featureService(
|
||||
const featureService = L.supermap && L.supermap.featureService && L.supermap.featureService(
|
||||
_mapConfig.config.EDITORDATA_URL
|
||||
)
|
||||
|
||||
|
|
|
@ -123,7 +123,8 @@ export function HieimpMap() {
|
|||
// debugger;
|
||||
|
||||
// 获取图层信息
|
||||
L.supermap
|
||||
L.supermap && L.supermap
|
||||
.layerInfoService && L.supermap
|
||||
.layerInfoService(_mapConfig.config.QUERY_URL)
|
||||
.getLayersInfo(function (result) {
|
||||
// doSomething
|
||||
|
|
|
@ -41,8 +41,6 @@
|
|||
<script setup>
|
||||
import DetalsTitle from '@/views/detailsAll/components/DetalsTitle'
|
||||
import { ref, defineProps, watch } from 'vue'
|
||||
const itShowXiHaiAn = whoShow.itShowXiHaiAn
|
||||
console.log('2222', itShowXiHaiAn)
|
||||
|
||||
let dataFrom = ref({
|
||||
title: '部署与安全',
|
||||
|
@ -64,7 +62,7 @@
|
|||
dataList: { type: Object, default: null },
|
||||
})
|
||||
if (props.dataList.infoList) {
|
||||
if (!whoShow1.value.itShowQingDao && !whoShow1.value.itShowXiHaiAn) {
|
||||
if (!whoShow1.value.itShowQingDao) {
|
||||
let obj = {
|
||||
attrType: '访问地址',
|
||||
attrValue: props.dataList.link || '------',
|
||||
|
@ -121,7 +119,7 @@
|
|||
if (val) {
|
||||
dataFrom.value.content[0].childrenContent = []
|
||||
dataFrom.value.content[1].childrenContent = []
|
||||
if (!whoShow1.value.itShowQingDao && !itShowXiHaiAn) {
|
||||
if (!whoShow1.value.itShowQingDao) {
|
||||
let obj = {
|
||||
attrType: '访问地址',
|
||||
attrValue: props.dataList.link || '------',
|
||||
|
|
|
@ -252,7 +252,7 @@
|
|||
// 初始化地址匹配服务
|
||||
initAddressMatchService() {
|
||||
this.L = window.L || {}
|
||||
this.addressMatchService = L.supermap.addressMatchService(
|
||||
this.addressMatchService = L.supermap && L.supermap.addressMatchService && L.supermap.addressMatchService(
|
||||
this.addressMatchUrl
|
||||
)
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue