Files
DataMate/frontend/src/pages/ContentGeneration/ContentGenerationPage.tsx
Jerry Yan d391f9fd2d
Some checks failed
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (java-kotlin) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
config(content-generation): 更新内容生成页面的iframe地址配置
- 将iframe源地址从百度首页更新为本地开发服务器地址
- 修改URL从 https://www.baidu.comhttp://192.168
2026-01-20 12:57:59 +08:00

24 lines
679 B
TypeScript

/**
* 内容生成页面
* 通过 iframe 加载外部页面
*/
export default function ContentGenerationPage() {
const iframeUrl = "http://192.168.0.8:3000";
return (
<div className="h-full w-full flex flex-col">
<div className="flex items-center justify-between mb-4">
<h1 className="text-xl font-bold"></h1>
</div>
<div className="flex-1 border rounded-lg overflow-hidden">
<iframe
src={iframeUrl}
className="w-full h-full border-0"
title="内容生成"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms allow-downloads"
/>
</div>
</div>
);
}