Commit d712ac5e authored by 邓晓峰's avatar 邓晓峰

fix: 修复iframe路径

parent b2f2e106
Pipeline #45267 passed with stages
in 5 minutes 49 seconds
/* eslint-disable */ /* eslint-disable */
// const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin; // const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin;
const proxyURL = 'http://192.168.12.101:8123'; const proxyURL = 'http://192.168.10.150:8686';
module.exports = { module.exports = {
assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './', assetsRoot: process.env.NODE_ENV !== 'production' ? proxyURL : './',
......
...@@ -11,7 +11,7 @@ const ShareFrame = props => { ...@@ -11,7 +11,7 @@ const ShareFrame = props => {
return ( return (
<Iframe <Iframe
url={`${state.linkUrl}/report/manageView/638220756398120960?token=${token}&loginName=${userInfo.loginName}`} url={`${state.linkUrl}?token=${token}&loginName=${userInfo.loginName}`}
width="100%" width="100%"
height="100%" height="100%"
id="myId" id="myId"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment