Quellcode durchsuchen

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

houzekong vor 10 Monaten
Ursprung
Commit
0fad70de98
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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;
     } else {
       // 当以 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;
       iframesrc.value = `${origin}/fileManager/cad-viewer?${AUTO_LOGIN_URL_QUERY.key}=${AUTO_LOGIN_URL_QUERY.val}&id=${record.id}&filename=${record.fileName}`;
     }