智慧园区前端大屏
shuishen
2024-11-12 40f2cc4bdc91f63954c8b2bbd351bc650657affc
src/pages/layout/components/scomponents/layersControl.vue
@@ -2,20 +2,20 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-31 10:47:29
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-11-12 13:29:29
 * @LastEditTime: 2024-11-12 14:20:54
 * @FilePath: \bigScreen\src\pages\layout\components\scomponents\layersControl.vue
 * @Description:
 *
 * Copyright (c) 2024 by shuishen, All Rights Reserved.
-->
<template>
  <public-box>
  <public-box v-show="showLayerControl">
    <template #name>
      <div class="name"><i class="fa fa-tasks"></i>&nbsp;图层</div>
    </template>
    <template #close>
      <div class="close" @click="$emit('close', 'layers')"><i class="fa fa-close"></i></div>
      <div class="close cursor-p" @click="$emit('close', 'layers')"><i class="fa fa-close"></i></div>
    </template>
    <template #content>
@@ -49,6 +49,13 @@
</template>
<script setup>
const {
  show: showLayerControl
} = defineProps({
  show: {
    default: false
  }
})
import panorama from './popup/panorama.vue'
import { getPage } from '@/api/indParkInfo'
import { getList } from "@/api/space/space"
@@ -302,7 +309,7 @@
      ) {
        attrParams.url = attrParams.url.replace(
          "http://vr.jxpskj.com:180",
          "/panorama/url"
          "/panorama"
        )
      }