feat: 优化界面显示,对deck添加编辑功能

This commit is contained in:
2024-09-26 21:08:38 +08:00
parent 02a1752a13
commit 12f1084612
29 changed files with 801 additions and 165 deletions

View File

@@ -58,6 +58,9 @@ const FormModal = () => {
<Form.Item name='title' label='title'>
<Input />
</Form.Item>
<Form.Item name='description' label='description'>
<Input.TextArea rows={4} />
</Form.Item>
<Form.Item name='code' label='code'>
<TextArea />
</Form.Item>
@@ -127,7 +130,7 @@ export const ContainerList = () => {
}}>
{item.title || '-'}
</div>
<div className='font-light'>{item.description ? item.description : '-'}</div>
<div className='font-light text-xs mt-2'>{item.description ? item.description : '-'}</div>
</div>
<div className='w-full text-xs'>
<TextArea className='max-h-[240px] scrollbar' value={item.code} readonly />