update 0.5.0
This commit is contained in:
		| @@ -11,7 +11,6 @@ import React from 'react'; | ||||
| import UserConfig from '../config'; | ||||
| import styles from '../index.less'; | ||||
| import { getRealHeight } from '../core/transfer'; | ||||
| import { IconFont } from '../core/utils/icon'; | ||||
| interface ContainerProps { | ||||
| 	state: IStoreData; | ||||
| 	context: 'edit' | 'preview'; | ||||
| @@ -90,11 +89,12 @@ function Container(props: PropsWithChildren<ContainerProps>) { | ||||
| 								width: `${props.state.container.width}px`, | ||||
| 							}} | ||||
| 						> | ||||
| 							<IconFont | ||||
| 								type="icon-suofang" | ||||
| 								onMouseDown={(e) => containerResizer.onMousedown(e, props.config)} | ||||
| 							<div | ||||
| 								style={{ fontSize: '20px', cursor: 's-resize' }} | ||||
| 							></IconFont> | ||||
| 								onMouseDown={(e) => containerResizer.onMousedown(e, props.config)} | ||||
| 							> | ||||
| 								{props.config.getConfig().containerIcon} | ||||
| 							</div> | ||||
| 						</div> | ||||
| 					</div> | ||||
| 				</> | ||||
|   | ||||
| @@ -40,7 +40,7 @@ const SortableItem = SortableElement( | ||||
| 				{value.config.getComponentRegister().getMap()[value.value.name].display} | ||||
| 			</div> | ||||
| 			<Divider type="vertical"></Divider> | ||||
| 			<div style={{ width: 50, textAlign: 'center' }}>{value.value.id.slice(-6)}</div> | ||||
| 			<div style={{ width: 80, textAlign: 'center' }}>{value.value.id.slice(-6)}</div> | ||||
| 			<Divider type="vertical"></Divider> | ||||
| 			<div style={{ width: 50, textAlign: 'center' }}>{value.value.position}</div> | ||||
| 			<Divider type="vertical"></Divider> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 hufeixiong
					hufeixiong