add 订阅编辑

This commit is contained in:
jxxghp
2023-07-07 10:51:13 +08:00
parent e54dd44edb
commit 61535ca5b5
3 changed files with 116 additions and 12 deletions

View File

@@ -2,3 +2,6 @@ import { ValidationRule } from 'vuetify/types/services/validation'
// 必输校验
export const requiredValidator: ValidationRule = (value: any) => !!value || '此项为必填项'
// 数字校验
export const numberValidator: ValidationRule = (value: any) => !isNaN(value) || '请输入数字'