Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheney committed Aug 19, 2020
1 parent 58f0e34 commit fe0dfde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _posts/2020-06-16-arts2.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,8 @@ keywords: ARTS, 前端, leetCode
- 供应链正式环境域名下,新开页面跳转、上传、下载时,协议由http变为https,导致报错问题:因为域名接入了内部SSO,域名解析时被强转https,通过配置nginx代理、开发监听443端口、上传及下载在nginx端配置proxy-pass并相应修改前端代码解决;(上传、下载分别使用antd Uploadformaction实现)
![nginx配置]({{site.url}}{{site.baseurl}}/images/posts/arts/uscm_nginx.png?raw=true)
![func]({{site.url}}{{site.baseurl}}/images/posts/arts/func.png?raw=true)
- 页面嵌入范围OA iframe弹窗,双击行,关闭弹窗,并把此行数据传递到上层(涉及跨域,可通过postMessage完成数据传递);
- 页面嵌入范围OA iframe弹窗,双击行,关闭弹窗,并把此行数据传递到上层(涉及跨域,可通过postMessage完成数据传递);
![cross-origin-frame]({{site.url}}{{site.baseurl}}/images/posts/arts/cross-origin-frame.png?raw=true)
```js
// 页面1
top.postMessage(query, '*');
Expand Down
Binary file added images/posts/arts/cross-origin-frame.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fe0dfde

Please sign in to comment.