This commit is contained in:
root
2026-02-02 16:09:25 +08:00
parent 07a901043a
commit 52daf30869
2 changed files with 9 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ server {
access_log /var/log/datamate/frontend/access.log main; access_log /var/log/datamate/frontend/access.log main;
error_log /var/log/datamate/frontend/error.log notice; error_log /var/log/datamate/frontend/error.log notice;
client_max_body_size 1024M; client_max_body_size 0;
add_header Set-Cookie "NEXT_LOCALE=zh"; add_header Set-Cookie "NEXT_LOCALE=zh";

View File

@@ -3,7 +3,9 @@
* 通过 iframe 加载外部页面 * 通过 iframe 加载外部页面
*/ */
export default function ContentGenerationPage() { export default function ContentGenerationPage() {
const iframeUrl = "http://192.168.0.8:3000"; const iframeUrl = "/api#/meeting";
window.localStorage.setItem("geeker-user", '{"token":"123","userInfo":{"name":"xteam"},"loginFrom":null,"loginData":null}');
return ( return (
<div className="h-full w-full flex flex-col"> <div className="h-full w-full flex flex-col">
@@ -16,6 +18,11 @@ export default function ContentGenerationPage() {
className="w-full h-full border-0" className="w-full h-full border-0"
title="内容生成" title="内容生成"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms allow-downloads" sandbox="allow-same-origin allow-scripts allow-popups allow-forms allow-downloads"
style={{marginLeft: "-220px",
marginTop: "-66px",
width: "calc(100% + 233px)",
height: "calc(100% + 108px)"
}}
/> />
</div> </div>
</div> </div>