mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	feat: add defult coler
This commit is contained in:
		| @@ -34,44 +34,47 @@ export const crudSchemas = reactive<VxeCrudSchema>({ | |||||||
|       title: '数据键值', |       title: '数据键值', | ||||||
|       field: 'value' |       field: 'value' | ||||||
|     }, |     }, | ||||||
|     { |     // { | ||||||
|       title: '标签类型', |     //   title: '标签类型', | ||||||
|       field: 'colorType', |     //   field: 'colorType', | ||||||
|       form: { |     //   form: { | ||||||
|         component: 'Select', |     //     component: 'Select', | ||||||
|         componentProps: { |     //     componentProps: { | ||||||
|           options: [ |     //       options: [ | ||||||
|             { |     //         { | ||||||
|               label: 'default', |     //           label: 'default', | ||||||
|               value: '' |     //           value: '' | ||||||
|             }, |     //         }, | ||||||
|             { |     //         { | ||||||
|               label: 'success', |     //           label: 'success', | ||||||
|               value: 'success' |     //           value: 'success' | ||||||
|             }, |     //         }, | ||||||
|             { |     //         { | ||||||
|               label: 'info', |     //           label: 'info', | ||||||
|               value: 'info' |     //           value: 'info' | ||||||
|             }, |     //         }, | ||||||
|             { |     //         { | ||||||
|               label: 'warning', |     //           label: 'warning', | ||||||
|               value: 'warning' |     //           value: 'warning' | ||||||
|             }, |     //         }, | ||||||
|             { |     //         { | ||||||
|               label: 'danger', |     //           label: 'danger', | ||||||
|               value: 'danger' |     //           value: 'danger' | ||||||
|             } |     //         } | ||||||
|           ] |     //       ] | ||||||
|         } |     //     } | ||||||
|       }, |     //   }, | ||||||
|       isTable: false |     //   isTable: false | ||||||
|     }, |     // }, | ||||||
|     { |     { | ||||||
|       title: '颜色', |       title: '颜色', | ||||||
|       field: 'cssClass', |       field: 'cssClass', | ||||||
|       isTable: false, |       isTable: false, | ||||||
|       form: { |       form: { | ||||||
|         component: 'ColorPicker' |         component: 'ColorPicker', | ||||||
|  |         componentProps: { | ||||||
|  |           predefine: ['#ffffff', '#409eff', '#67c23a', '#e6a23c', '#f56c6c', '#909399', '#c71585'] | ||||||
|  |         } | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 xingyu
					xingyu