update 0.15.2
This commit is contained in:
		| @@ -2,7 +2,7 @@ | ||||
|  * @Author: yehuozhili | ||||
|  * @Date: 2021-02-27 21:33:36 | ||||
|  * @LastEditors: yehuozhili | ||||
|  * @LastEditTime: 2022-04-09 21:55:03 | ||||
|  * @LastEditTime: 2022-04-29 23:35:58 | ||||
|  * @FilePath: \dooringx\packages\dooringx-example\src\plugin\index.tsx | ||||
|  */ | ||||
|  | ||||
| @@ -29,13 +29,6 @@ const LeftRegistMap: LeftRegistComponentMapItem[] = [ | ||||
| 		img: 'https://img.guguzhu.com/d/file/android/ico/2021/09/08/rytzi2w34tm.png', | ||||
| 		displayName: '输入框', | ||||
| 	}, | ||||
| 	{ | ||||
| 		type: 'basic', | ||||
| 		component: 'test', | ||||
| 		img: 'https://img.guguzhu.com/d/file/android/ico/2021/09/08/rytzi2w34tm.png', | ||||
| 		displayName: '测试', | ||||
| 		urlFn: () => import('./registComponents/testCo'), | ||||
| 	}, | ||||
| ]; | ||||
|  | ||||
| export const defaultConfig: Partial<InitConfig> = { | ||||
|   | ||||
| @@ -1,17 +0,0 @@ | ||||
| import { ComponentItemFactory } from 'dooringx-lib'; | ||||
|  | ||||
| const TestCo = new ComponentItemFactory( | ||||
| 	'test', | ||||
| 	'测试组件', | ||||
| 	{}, | ||||
| 	{ | ||||
| 		width: 200, | ||||
| 		height: 55, | ||||
| 	}, | ||||
| 	() => { | ||||
| 		return <div>测试</div>; | ||||
| 	}, | ||||
| 	true | ||||
| ); | ||||
|  | ||||
| export default TestCo; | ||||
		Reference in New Issue
	
	Block a user
	 yehuozhili
					yehuozhili