|
|
@@ -1,7 +1,7 @@
|
|
|
import { ref, toValue } from 'vue';
|
|
|
import type { ComputedRef, Ref } from 'vue';
|
|
|
import type { FormInst } from 'naive-ui';
|
|
|
-import { REG_CODE_SIX, REG_EMAIL, REG_PHONE, REG_PWD } from '@/constants/reg';
|
|
|
+import { REG_CODE_SIX, REG_EMAIL, REG_PHONE } from '@/constants/reg';
|
|
|
import { $t } from '@/locales';
|
|
|
|
|
|
export function useFormRules() {
|
|
|
@@ -16,7 +16,6 @@ export function useFormRules() {
|
|
|
trigger: 'change'
|
|
|
},
|
|
|
pwd: {
|
|
|
- pattern: REG_PWD,
|
|
|
message: $t('form.pwd.invalid'),
|
|
|
trigger: 'change'
|
|
|
},
|