fix: list pagination
This commit is contained in:
@@ -203,7 +203,7 @@ const ParamsSettings: React.FC<ParamsSettingsProps> = ({
|
||||
>
|
||||
<Slider
|
||||
defaultValue={1024}
|
||||
max={16384}
|
||||
max={2048}
|
||||
step={1}
|
||||
style={{ marginBottom: 0, marginTop: 16 }}
|
||||
tooltip={{ open: false }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { PageContainer } from '@ant-design/pro-components';
|
||||
import { useSearchParams } from '@umijs/max';
|
||||
import { Divider } from 'antd';
|
||||
import { StrictMode, useState } from 'react';
|
||||
import { useState } from 'react';
|
||||
import GroundLeft from './components/ground-left';
|
||||
import ParamsSettings from './components/params-settings';
|
||||
import './style/play-ground.less';
|
||||
@@ -12,7 +12,7 @@ const Playground: React.FC = () => {
|
||||
const [params, setParams] = useState({});
|
||||
|
||||
return (
|
||||
<StrictMode>
|
||||
<>
|
||||
<PageContainer ghost extra={[]}>
|
||||
<div className="play-ground">
|
||||
<div className="chat">
|
||||
@@ -27,7 +27,7 @@ const Playground: React.FC = () => {
|
||||
</div>
|
||||
</div>
|
||||
</PageContainer>
|
||||
</StrictMode>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user