Explorar o código

form组件校验报错 ElMessage

lxf %!s(int64=2) %!d(string=hai) anos
pai
achega
be5610c7ae
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      src/components/byForm/index.vue

+ 5 - 5
src/components/byForm/index.vue

@@ -329,11 +329,11 @@ const handleSubmit = (onSubmit) => {
 			})
 			emit('update:modelValue', form)
 			onSubmit()
-		} else {
-			ElMessage({
-				message: '请检查表单',
-				type: 'warning',
-			})
+		// } else {
+		// 	ElMessage({
+		// 		message: '请检查表单',
+		// 		type: 'warning',
+		// 	})
 		}
 	})
 }