Skip to content

Commit

Permalink
表单校验除string外不再添加whitespace判断
Browse files Browse the repository at this point in the history
  • Loading branch information
piexlMax committed Jun 23, 2023
1 parent 6c1bb88 commit 48e897e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/resource/autocode_template/web/table.vue.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
})
Expand Down

0 comments on commit 48e897e

Please sign in to comment.