fix: locales
							parent
							
								
									a7dcebc82a
								
							
						
					
					
						commit
						5922f45112
					
				|  | @ -45,7 +45,7 @@ setupVbenForm<ComponentType>({ | ||||||
|       if (value === undefined || value === null || value.length === 0) { |       if (value === undefined || value === null || value.length === 0) { | ||||||
|         return true; |         return true; | ||||||
|       } else if (!MOBILE_REGEX.test(value)) { |       } else if (!MOBILE_REGEX.test(value)) { | ||||||
|         return $t('ui.formRules.phone', [ctx.label]); |         return $t('ui.formRules.mobile', [ctx.label]); | ||||||
|       } |       } | ||||||
|       return true; |       return true; | ||||||
|     }, |     }, | ||||||
|  | @ -55,7 +55,7 @@ setupVbenForm<ComponentType>({ | ||||||
|         return $t('ui.formRules.required', [ctx.label]); |         return $t('ui.formRules.required', [ctx.label]); | ||||||
|       } |       } | ||||||
|       if (!MOBILE_REGEX.test(value)) { |       if (!MOBILE_REGEX.test(value)) { | ||||||
|         return $t('ui.formRules.phone', [ctx.label]); |         return $t('ui.formRules.mobile', [ctx.label]); | ||||||
|       } |       } | ||||||
|       return true; |       return true; | ||||||
|     }, |     }, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 xingyu4j
						xingyu4j