perf: formCreate
							parent
							
								
									b42ce319d0
								
							
						
					
					
						commit
						65dda53fa6
					
				|  | @ -29,7 +29,6 @@ | ||||||
|     "@form-create/ant-design-vue": "catalog:", |     "@form-create/ant-design-vue": "catalog:", | ||||||
|     "@form-create/antd-designer": "catalog:", |     "@form-create/antd-designer": "catalog:", | ||||||
|     "@tinymce/tinymce-vue": "catalog:", |     "@tinymce/tinymce-vue": "catalog:", | ||||||
|     "@types/lodash.clonedeep": "catalog:", |  | ||||||
|     "@vben/access": "workspace:*", |     "@vben/access": "workspace:*", | ||||||
|     "@vben/common-ui": "workspace:*", |     "@vben/common-ui": "workspace:*", | ||||||
|     "@vben/constants": "workspace:*", |     "@vben/constants": "workspace:*", | ||||||
|  | @ -57,6 +56,7 @@ | ||||||
|     "vue-router": "catalog:" |     "vue-router": "catalog:" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@types/crypto-js": "catalog:" |     "@types/crypto-js": "catalog:", | ||||||
|  |     "@types/lodash.clonedeep": "catalog:" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -156,29 +156,22 @@ onMounted(async () => { | ||||||
| 
 | 
 | ||||||
| <template> | <template> | ||||||
|   <Page auto-content-height> |   <Page auto-content-height> | ||||||
|     <div class="m-4"> |     <FcDesigner ref="designer" height="90vh" :config="designerConfig"> | ||||||
|       <FcDesigner ref="designer" height="100vh" :config="designerConfig"> |       <template #handle> | ||||||
|         <template #handle> |         <Button size="small" type="primary" ghost @click="showJson"> | ||||||
|           <Button size="small" type="primary" ghost @click="showJson"> |           生成JSON | ||||||
|             生成JSON |         </Button> | ||||||
|           </Button> |         <Button size="small" type="primary" ghost @click="showOption"> | ||||||
|           <Button size="small" type="primary" ghost @click="showOption"> |           生成Options | ||||||
|             生成Options |         </Button> | ||||||
|           </Button> |         <Button size="small" type="primary" ghost @click="showTemplate"> | ||||||
|           <Button size="small" type="primary" ghost @click="showTemplate"> |           生成组件 | ||||||
|             生成组件 |         </Button> | ||||||
|           </Button> |       </template> | ||||||
|         </template> |     </FcDesigner> | ||||||
|       </FcDesigner> |  | ||||||
|     </div> |  | ||||||
| 
 | 
 | ||||||
|     <!-- 弹窗:表单预览 --> |     <!-- 弹窗:表单预览 --> | ||||||
|     <Modal |     <Modal :title="dialogTitle" :footer="false" :fullscreen-button="false"> | ||||||
|       :title="dialogTitle" |  | ||||||
|       :footer="false" |  | ||||||
|       :fullscreen-button="false" |  | ||||||
|       max-height="600" |  | ||||||
|     > |  | ||||||
|       <div> |       <div> | ||||||
|         <Button style="float: right" @click="copy(formData)"> |         <Button style="float: right" @click="copy(formData)"> | ||||||
|           {{ $t('common.copy') }} |           {{ $t('common.copy') }} | ||||||
|  |  | ||||||
|  | @ -683,9 +683,6 @@ importers: | ||||||
|       '@tinymce/tinymce-vue': |       '@tinymce/tinymce-vue': | ||||||
|         specifier: 'catalog:' |         specifier: 'catalog:' | ||||||
|         version: 6.1.0(vue@3.5.13(typescript@5.8.3)) |         version: 6.1.0(vue@3.5.13(typescript@5.8.3)) | ||||||
|       '@types/lodash.clonedeep': |  | ||||||
|         specifier: 'catalog:' |  | ||||||
|         version: 4.5.9 |  | ||||||
|       '@vben/access': |       '@vben/access': | ||||||
|         specifier: workspace:* |         specifier: workspace:* | ||||||
|         version: link:../../packages/effects/access |         version: link:../../packages/effects/access | ||||||
|  | @ -765,6 +762,9 @@ importers: | ||||||
|       '@types/crypto-js': |       '@types/crypto-js': | ||||||
|         specifier: 'catalog:' |         specifier: 'catalog:' | ||||||
|         version: 4.2.2 |         version: 4.2.2 | ||||||
|  |       '@types/lodash.clonedeep': | ||||||
|  |         specifier: 'catalog:' | ||||||
|  |         version: 4.5.9 | ||||||
| 
 | 
 | ||||||
|   apps/web-ele: |   apps/web-ele: | ||||||
|     dependencies: |     dependencies: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 xingyu4j
						xingyu4j