Compare commits

..

No commits in common. 'cba1042fdfa20db037e0fdd8499724f7b50da230' and '34a50a01c00101e798632be9cb96d3d47f718709' have entirely different histories.

  1. 2
      jeecgboot-vue3/src/views/system/loginmini/MiniRegister4shenbaoren.vue

@ -246,7 +246,7 @@
return; return;
} }
// 8 // 8
const passwordRegex = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?])[A-Za-z\d!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]{8,}$/; const passwordRegex = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@#$%^&+=!])(?=.{8,})$/;
if (!passwordRegex.test(formData.password)) { if (!passwordRegex.test(formData.password)) {
createMessage.warn(t('sys.login.passwordPlaceholderNotReg')); createMessage.warn(t('sys.login.passwordPlaceholderNotReg'));
return; return;

Loading…
Cancel
Save