!2344 开发:修复错误代码

pull/2346/head
林三 1 year ago committed by ChenX
parent cdb94d4e00
commit a7e76eccc8

@ -13,7 +13,7 @@ export interface CustomNumberItem
interface ICustomNumContainer interface ICustomNumContainer
{ {
state: CustomNumberStore; state: CustomNumberStore;
canDrag: boolean; canDrag: boolean; //可拖拽
renderConteainer: (state: CustomNumberStore, card: CustomNumberItem, index: number) => JSX.Element | string; renderConteainer: (state: CustomNumberStore, card: CustomNumberItem, index: number) => JSX.Element | string;
clsssName?: string; clsssName?: string;
style?: CSSProperties; style?: CSSProperties;

@ -36,6 +36,7 @@ export class CustomNumberPanel extends React.Component<{ store: CustomNumberStor
<CustomNumContainer <CustomNumContainer
state={this.props.store} state={this.props.store}
style={{ width: 400 }} style={{ width: 400 }}
canDrag={true}
renderConteainer={(state, card, index) => renderConteainer={(state, card, index) =>
{ {
return ( return (

Loading…
Cancel
Save