feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面
This commit is contained in:
@@ -589,12 +589,10 @@ const Playground = ({ isExperienceMode = false }) => {
|
||||
|
||||
let messages = [...message];
|
||||
|
||||
if (
|
||||
!(
|
||||
messages.length === 0 ||
|
||||
messages.every((msg) => msg.role !== MESSAGE_ROLES.USER)
|
||||
)
|
||||
) {
|
||||
if (!(
|
||||
messages.length === 0 ||
|
||||
messages.every((msg) => msg.role !== MESSAGE_ROLES.USER)
|
||||
)) {
|
||||
for (let i = messages.length - 1; i >= 0; i--) {
|
||||
if (messages[i].role === MESSAGE_ROLES.USER) {
|
||||
if (inputs.imageEnabled && inputs.imageUrls) {
|
||||
@@ -1561,9 +1559,7 @@ const Playground = ({ isExperienceMode = false }) => {
|
||||
)}
|
||||
|
||||
<Layout.Content className='relative flex-1 overflow-hidden min-h-0'>
|
||||
<div
|
||||
className={`overflow-hidden flex flex-col lg:flex-row ${isExperienceMode ? 'h-full' : 'h-[calc(100vh-66px)] mt-[60px]'}`}
|
||||
>
|
||||
<div className='overflow-hidden flex flex-col lg:flex-row h-full'>
|
||||
<div
|
||||
ref={chatAreaWrapperRef}
|
||||
className='flex-1 flex flex-col min-h-0 overflow-hidden'
|
||||
|
||||
Reference in New Issue
Block a user