You've already forked DataMate
Some checks failed
- 将iframe源地址从百度首页更新为本地开发服务器地址 - 修改URL从 https://www.baidu.com 到 http://192.168
24 lines
679 B
TypeScript
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>
|
|
);
|
|
}
|