Преглед на файлове

[Mod 0000] 修改CAD预览器的嵌入地址

houzekong преди 10 месеца
родител
ревизия
0fad70de98
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/vent/performance/comment/CADModal.vue

+ 1 - 1
src/views/vent/performance/comment/CADModal.vue

@@ -46,7 +46,7 @@
       filename.value = record.fileName;
       filename.value = record.fileName;
     } else {
     } else {
       // 当以 iframe 模式运行时,origin 在生产模式下需要指向本项目公司端所部署的地址
       // 当以 iframe 模式运行时,origin 在生产模式下需要指向本项目公司端所部署的地址
-      const origin = import.meta.env.PROD ? 'http://10.10.150.72:8092' : window.location.origin;
+      const origin = import.meta.env.PROD ? 'http://10.224.104.150:8092' : window.location.origin;
       // const origin = import.meta.env.DEV ? 'http://182.92.126.35:8092' : window.location.origin;
       // const origin = import.meta.env.DEV ? 'http://182.92.126.35:8092' : window.location.origin;
       iframesrc.value = `${origin}/fileManager/cad-viewer?${AUTO_LOGIN_URL_QUERY.key}=${AUTO_LOGIN_URL_QUERY.val}&id=${record.id}&filename=${record.fileName}`;
       iframesrc.value = `${origin}/fileManager/cad-viewer?${AUTO_LOGIN_URL_QUERY.key}=${AUTO_LOGIN_URL_QUERY.val}&id=${record.id}&filename=${record.fileName}`;
     }
     }