|
@@ -109,7 +109,7 @@ export const searchForm: Partial<FormProps> = {
|
|
// @ts-ignore
|
|
// @ts-ignore
|
|
validator: async (rule, value) => {
|
|
validator: async (rule, value) => {
|
|
// var reg = /\S+@\S+\.\S+/;
|
|
// var reg = /\S+@\S+\.\S+/;
|
|
- const regPos = /^[0-9]*$/
|
|
|
|
|
|
+ const regPos = /^[0-9]*$/;
|
|
if (!value) {
|
|
if (!value) {
|
|
return Promise.resolve();
|
|
return Promise.resolve();
|
|
}
|
|
}
|