feat: bump container
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Container, ContainerEdit } from '@abearxiong/container';
|
||||
import { ContainerEdit } from '@abearxiong/container/edit';
|
||||
import { useCallback, useEffect, useRef, useState } from 'react';
|
||||
import { useParams } from 'react-router';
|
||||
import { query, useStore, ws } from '@/modules';
|
||||
@@ -118,6 +118,7 @@ export const Deck = () => {
|
||||
console.log('data', data);
|
||||
const { page, containerList } = data;
|
||||
const result = getContainerData({ page, containerList });
|
||||
console.log('result', result);
|
||||
deckPageStore.setPageData(result);
|
||||
init(result);
|
||||
}
|
||||
@@ -291,7 +292,7 @@ export const Deck = () => {
|
||||
Deck
|
||||
<Tooltip>
|
||||
<Button
|
||||
className='ml-4 hidden group-hover:block'
|
||||
className='ml-4 invisible group-hover:visible'
|
||||
icon={<SelectOutlined />}
|
||||
onClick={() => {
|
||||
deckPageStore.setShowEdit(true);
|
||||
@@ -337,7 +338,13 @@ export const Deck = () => {
|
||||
</Button.Group>
|
||||
</div>
|
||||
<div className='h-[200px]'>
|
||||
<TextArea className='h-[100px] rounded-md' value={code} />
|
||||
<TextArea
|
||||
className='h-[100px] rounded-md'
|
||||
value={code}
|
||||
onChange={(v) => {
|
||||
setCode(v);
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user