fix(form-item): initialValue issue in resetField (#6979)
							parent
							
								
									b3ef24963f
								
							
						
					
					
						commit
						21d85ea82c
					
				|  | @ -327,7 +327,7 @@ export default defineComponent({ | |||
|       const value = fieldValue.value; | ||||
|       const prop = getPropByPath(model, namePath.value, true); | ||||
|       if (Array.isArray(value)) { | ||||
|         prop.o[prop.k] = [].concat(initialValue.value); | ||||
|         prop.o[prop.k] = [].concat(initialValue.value ?? []); | ||||
|       } else { | ||||
|         prop.o[prop.k] = initialValue.value; | ||||
|       } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Konv Suu
						Konv Suu