Kaynağa Gözat

fix: 部署-外网(已测试)

HeWang 7 ay önce
ebeveyn
işleme
4ab301f722

+ 1 - 1
electron/main.js

@@ -26,7 +26,7 @@ function createWindow() {
         }
     });
 
-    win.webContents.openDevTools(); // 打开开发者工具进行调试
+    // win.webContents.openDevTools(); // 打开开发者工具进行调试
     win.loadURL('http://localhost:5173'); // 开发环境
     // win.loadURL('http://36.110.106.156:81'); // 生产环境
     console.log('Window created and URL loaded');

+ 2 - 2
src/views/MapRescanView.vue

@@ -94,13 +94,13 @@
           <el-table-column prop="update_flag" label="地图续扫提醒" :formatter="formatStatus"/>
           <el-table-column prop="pre_pgm_url" label="原始pgm" width="400px">
             <template v-slot="scope">
-              <img :src="'http://pji-bucket1.oss.icvdc.com/pji-bucket1/' + scope.row.pre_png_url" @click="viewImg" alt="" style="width:300px; height: 100%; cursor: pointer">
+              <img :src="'http://pji-bucket1.oss.icvdc.com/' + scope.row.pre_png_url" @click="viewImg" alt="" style="width:300px; height: 100%; cursor: pointer">
             </template>
 
           </el-table-column>
           <el-table-column prop="current_pgm_url" label="当前pgm" width="400px">
             <template v-slot="scope">
-              <img :src="'http://pji-bucket1.oss.icvdc.com/pji-bucket1/' + scope.row.current_png_url" @click="viewImg" alt="" style="width:300px; height: 100%; cursor: pointer">
+              <img :src="'http://pji-bucket1.oss.icvdc.com/' + scope.row.current_png_url" @click="viewImg" alt="" style="width:300px; height: 100%; cursor: pointer">
             </template>
           </el-table-column>
 

+ 2 - 2
src/views/UpdateStatView.vue

@@ -71,13 +71,13 @@
           <el-table-column prop="update_flag" label="地图更新状态" :formatter="formatStatus"/>
           <el-table-column prop="pre_pgm_url" label="原始pgm" width="400px">
             <template v-slot="scope">
-              <img :src="'http://pji-bucket1.oss.icvdc.com/pji-bucket1/' + scope.row.pre_png_url" @click="viewImg" alt="" style="width:300px; height: 100%; cursor: pointer">
+              <img :src="'http://pji-bucket1.oss.icvdc.com/' + scope.row.pre_png_url" @click="viewImg" alt="" style="width:300px; height: 100%; cursor: pointer">
             </template>
 
           </el-table-column>
           <el-table-column prop="current_pgm_url" label="当前pgm" width="400px">
             <template v-slot="scope">
-              <img :src="'http://pji-bucket1.oss.icvdc.com/pji-bucket1/' + scope.row.current_png_url" @click="viewImg" alt="" style="width:300px; height: 100%; cursor: pointer">
+              <img :src="'http://pji-bucket1.oss.icvdc.com/' + scope.row.current_png_url" @click="viewImg" alt="" style="width:300px; height: 100%; cursor: pointer">
             </template>
           </el-table-column>