[issues/568]设置 autoSubmitOnEnter: false 不生效
							parent
							
								
									f1b61f87c5
								
							
						
					
					
						commit
						e26fe4afad
					
				|  | @ -12,13 +12,15 @@ export function useTableForm( | ||||||
| ) { | ) { | ||||||
|   const getFormProps = computed((): Partial<FormProps> => { |   const getFormProps = computed((): Partial<FormProps> => { | ||||||
|     const { formConfig } = unref(propsRef); |     const { formConfig } = unref(propsRef); | ||||||
|     const { submitButtonOptions } = formConfig || {}; |     const { submitButtonOptions, autoSubmitOnEnter} = formConfig || {}; | ||||||
|     return { |     return { | ||||||
|       showAdvancedButton: true, |       showAdvancedButton: true, | ||||||
|       ...formConfig, |       ...formConfig, | ||||||
|       submitButtonOptions: { loading: unref(getLoading), ...submitButtonOptions }, |       submitButtonOptions: { loading: unref(getLoading), ...submitButtonOptions }, | ||||||
|       compact: true, |       compact: true, | ||||||
|       autoSubmitOnEnter: true, |       //update-begin-author:liusq---date:20230605--for: [issues/568]设置 autoSubmitOnEnter: false 不生效 ---
 | ||||||
|  |       autoSubmitOnEnter: autoSubmitOnEnter, | ||||||
|  |       //update-end-author:liusq---date:20230605--for: [issues/568]设置 autoSubmitOnEnter: false 不生效 ---
 | ||||||
|     }; |     }; | ||||||
|   }); |   }); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 zhangdaiscott
						zhangdaiscott