FlowBL/src/utils/formRules.ts

8 lines
116 B
TypeScript

const { t } = useI18n()
// 必填项
export const required = {
required: true,
message: t('common.required')
}