diff --git a/src/App.js b/src/App.js index 7e05ec87f..779881133 100644 --- a/src/App.js +++ b/src/App.js @@ -165,7 +165,7 @@ const Iframe = Loadable({ }); // 此处仅维护前端可能的一级路由,不用进行项目或者组织判断的字段。 -const keyWord = ["explore", "settings", "setting", "mulan", "wiki", "issues", "setting", "trending", "code", "projects", "pulls", "mine", "login", "register", "email", "export", "nopage", "404", "403", "500", "501", "search", "organize", "login", "register", "resetPassword", "aboutus","educoder", "glcc","bindlogin", "softbot","zone"]; +const keyWord = ["explore", "settings", "setting", "mulan", "wiki", "issues", "setting", "trending", "code", "projects", "pulls", "mine", "login", "register", "email", "export", "nopage", "404", "403", "500", "501", "search", "organize", "login", "register", "resetPassword", "aboutus","educoder", "glcc","bindlogin", "softbot","zone", "hiagent"]; class App extends Component { constructor(props) { diff --git a/src/forge/iframe.jsx b/src/forge/iframe.jsx index f7b6ef56e..26cdd8897 100644 --- a/src/forge/iframe.jsx +++ b/src/forge/iframe.jsx @@ -16,8 +16,7 @@ const Iframe = (props) => { function iframeLoad() { let myIframe = document.getElementById("iframe"); - myIframe.height = `${document.documentElement.clientHeight - 473 + 86}px` - // if (myIframe.contentWindow.location && myIfram e.contentWindow.location.href) { + // if (myIframe.contentWindow.location && myIframe.contentWindow.location.href) { // window.location.href = 'http://118.145.132.196:3000/product/llm/llm-chat' // //myIframe.contentWindow.location.href // } @@ -26,9 +25,8 @@ const Iframe = (props) => { return } diff --git a/src/index.css b/src/index.css index 452f0f91b..7f853f7d9 100644 --- a/src/index.css +++ b/src/index.css @@ -253,4 +253,5 @@ i.color-orange05:hover { .test-iframe { margin-top: -48px; vertical-align:bottom; + height: 100vh; } \ No newline at end of file