Prechádzať zdrojové kódy

💊 优化志愿者注册提示

快乐的梦鱼 1 mesiac pred
rodič
commit
5508593a10

+ 1 - 0
src/pages/dig/admin/data/volunteer.ts

@@ -41,6 +41,7 @@ export function getVolunteerForm(options: {
             additionalProps: { 
               placeholder: '请输入密码',
               type: 'password',
+              extraMessage: '密码建议:8-20位,包含字母和数字,\n不要使用过于简单的密码',
             } as FieldProps,
             rules: [{ required: true, message: '请输入密码' }],
             show: { callback: () => options.isNew.value || options.onlyPassword === true },

+ 2 - 0
src/pages/home/light/submit.vue

@@ -179,6 +179,8 @@ const registerFormDefine = ref<IDynamicFormOptions>();
 async function registerSubmit() {
   if (!registerFormRef.value || !registerFormModel.value)
     return;
+  console.log('registerFormModel', registerFormModel.value);
+  
   try {
     await registerFormRef.value.validate();
   } catch (e) {