From aec00ecc093be803860c8675cbe1c4c776a7cb4e Mon Sep 17 00:00:00 2001
From: GuLiMmo <2820890765@qq.com>
Date: Tue, 19 Mar 2024 17:49:21 +0800
Subject: [PATCH] update: 新建航线、事件编辑、kmz文件问题修改

---
 src/components/MediaPanel.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/components/MediaPanel.vue b/src/components/MediaPanel.vue
index e00294d..e8a7c56 100644
--- a/src/components/MediaPanel.vue
+++ b/src/components/MediaPanel.vue
@@ -126,7 +126,7 @@
 const videoPlayerId = ref('videoPlayerId')
 // 文件前缀
 // const prefix = 'https://dev.jxpskj.com:8026/cloud-bucket'
-const prefix = mediaPanelPrefix || 'https://dev.jxpskj.com:8026/cloud-bucket'
+const prefix = mediaPanelPrefix || import.meta.env.VITE_MEDIAPANEL_API_URL
 // 搜索栏配置项
 const searchPanelOptions = reactive({
   size: 'large',
@@ -248,6 +248,7 @@
 }
 
 function viewFile (objectKey: string) {
+  console.log(objectKey)
   const ext = objectKey.split('.')[1]
   const fileType = getFileType(ext)
   let url = ''

--
Gitblit v1.9.3