|
@@ -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}`;
|
|
|
}
|