Explorar o código

refactor(frontend): 优化代码并更新 OTA 版本检查 URL

- 注释掉 Photography 组件中的打开输出目录按钮
- 更新 OTA 版本检查 URL 为 https://ossimg.valimart.net/frontend/html/zhihuiyin/version.json
panqiuyao hai 3 meses
pai
achega
7ab5ee0d03

+ 1 - 1
frontend/src/views/OTA/index.vue

@@ -30,7 +30,7 @@ const fetchVersions = async () => {
   try {
     // 添加时间戳避免缓存问题
     const timestamp = new Date().getTime();
-    const response = await axios.get('https://huilimaimg.cnhqt.com/frontend/html/zhihuiyin/version.json', {
+    const response = await axios.get('https://ossimg.valimart.net/frontend/html/zhihuiyin/version.json', {
       params: {
         _t: timestamp
       }

+ 1 - 1
frontend/src/views/Photography/detail.vue

@@ -291,7 +291,7 @@
         <div class="message-header">
           <span>处理进度</span>
           <div class="flex right" style="gap:8px; align-items:center;">
-            <el-button type="text" @click="openOutputDir" v-log="{ describe: { action: '点击打开输出目录' } }">打开目录</el-button>
+<!--            <el-button type="text" @click="openOutputDir" v-log="{ describe: { action: '点击打开输出目录' } }">打开目录</el-button>-->
             <el-button type="text" @click="showMessageHistory = !showMessageHistory" v-log="{ describe: { action: '点击查看进度详情' } }">
               {{ showMessageHistory ? '收起' : '查看详情' }}
             </el-button>