提交 48e897ee 编写于 作者: P piexlMax

表单校验除string外不再添加whitespace判断

上级 6c1bb888
......@@ -278,11 +278,14 @@ const rule = reactive({
message: '{{ .ErrorText }}',
trigger: ['input','blur'],
},
{{- if eq .FieldType "string" }}
{
whitespace: true,
message: '不能只输入空格',
trigger: ['input', 'blur'],
}],
}
{{- end }}
],
{{- end }}
{{- end }}
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册