mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-24 00:01:56 +08:00
10 lines
163 B
TypeScript
10 lines
163 B
TypeScript
import { useI18n } from '@/hooks/web/useI18n'
|
|
|
|
const { t } = useI18n()
|
|
|
|
// 必填项
|
|
export const required = {
|
|
required: true,
|
|
message: t('common.required')
|
|
}
|