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