ludu-admin-vue3/src/utils/formRules.ts

8 lines
116 B
TypeScript
Raw Normal View History

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