智慧园区前端大屏
shuishen
2024-11-20 7485647b5a3b256c15b147ae97859c27e7494366
地形默认加载
1 files modified
6 ■■■■■ changed files
src/pages/layout/components/scomponents/baseMap.vue 6 ●●●●● patch | view | raw | blame | history
src/pages/layout/components/scomponents/baseMap.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-28 11:44:45
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-11-15 18:17:23
 * @LastEditTime: 2024-11-20 17:24:02
 * @FilePath: \bigScreen\src\pages\layout\components\scomponents\baseMap.vue
 * @Description: 
 * 
@@ -278,7 +278,7 @@
loadLAYER(1, 1)
const showTerrainFlag = ref(false)
const showTerrainFlag = ref(true)
const terrainChange = (e) => {
  if (e) {
@@ -290,6 +290,8 @@
    window.$viewer.setTerrain()
  }
}
terrainChange(true)
</script>
<style lang="scss" scoped>