update pay function
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
// Agent聊天页面 V4 - 黑金毛玻璃设计,带模型选择和工具选择
|
// Agent聊天页面 V4 - 黑金毛玻璃设计,带模型选择和工具选择
|
||||||
|
|
||||||
import React, { useState, useEffect, useRef } from 'react';
|
import React, { useState, useEffect, useRef } from 'react';
|
||||||
|
import { Global, css } from '@emotion/react';
|
||||||
import {
|
import {
|
||||||
Box,
|
Box,
|
||||||
Flex,
|
Flex,
|
||||||
@@ -699,6 +700,20 @@ const AgentChatV4 = () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<>
|
||||||
|
{/* 全局样式:确保页面占满整个视口 */}
|
||||||
|
<Global
|
||||||
|
styles={css`
|
||||||
|
html, body, #root {
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
width: 100% !important;
|
||||||
|
height: 100% !important;
|
||||||
|
overflow: hidden !important;
|
||||||
|
}
|
||||||
|
`}
|
||||||
|
/>
|
||||||
|
|
||||||
<Flex
|
<Flex
|
||||||
w="100vw"
|
w="100vw"
|
||||||
h="100vh"
|
h="100vh"
|
||||||
@@ -1304,6 +1319,7 @@ const AgentChatV4 = () => {
|
|||||||
</Box>
|
</Box>
|
||||||
</Collapse>
|
</Collapse>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user