Przeglądaj źródła

部署-恢复内网(已测试)

HeWang 7 miesięcy temu
rodzic
commit
784b329af1
3 zmienionych plików z 5 dodań i 6 usunięć
  1. 1 2
      electron/main.js
  2. 2 2
      src/views/MapRescanView.vue
  3. 2 2
      src/views/UpdateStatView.vue

+ 1 - 2
electron/main.js

@@ -6,7 +6,6 @@ import fs from 'fs';
 import axios from 'axios';
 import ProcessManager from './processManager.js'
 
-
 const processManager = new ProcessManager(); // 创建进程管理器实例
 const __filename = fileURLToPath(import.meta.url);
 const __dirname = path.dirname(__filename);
@@ -26,7 +25,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/' + scope.row.pre_png_url" @click="viewImg" alt="" style="width:300px; height: 100%; cursor: pointer">
+              <img :src="'http://oss-cn-beijing-gqzl-d01-a.ops.gqzl-cloud.com/pji-bucket1/' + 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/' + scope.row.current_png_url" @click="viewImg" alt="" style="width:300px; height: 100%; cursor: pointer">
+              <img :src="'http://oss-cn-beijing-gqzl-d01-a.ops.gqzl-cloud.com/pji-bucket1/' + 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/' + scope.row.pre_png_url" @click="viewImg" alt="" style="width:300px; height: 100%; cursor: pointer">
+              <img :src="'http://oss-cn-beijing-gqzl-d01-a.ops.gqzl-cloud.com/pji-bucket1/' + 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/' + scope.row.current_png_url" @click="viewImg" alt="" style="width:300px; height: 100%; cursor: pointer">
+              <img :src="'http://oss-cn-beijing-gqzl-d01-a.ops.gqzl-cloud.com/pji-bucket1/' + scope.row.current_png_url" @click="viewImg" alt="" style="width:300px; height: 100%; cursor: pointer">
             </template>
           </el-table-column>