819527061@qq.com
2024-06-25 5a4374e3cfb9f90ffa4f3379fb556a8c782183ba
pages/register/register.vue
@@ -145,7 +145,7 @@
               </u-upload>
            </u-form-item>
            <u-form-item prop="bodyofcarJpg"
               label="车头车尾车身照片"
               label="车头、车尾、车身、照片"
               labelWidth="20%"
               borderBottom
               v-if="radiovalue1 == '司机'"
@@ -278,17 +278,17 @@
            /^[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、]+$/
        if(regex1.test(value)) {
          this.level.push('low')
          return callback('密码强度过低')
          return callback('密码强度过低,请按下方密码规则输入')
        }else if(regex2.test(value)) {
          this.level.push('low')
          return callback('密码强度过低')
          return callback('密码强度过低,请按下方密码规则输入')
        }else if(regex3.test(value)) {
          this.level.push('low')
          return callback('密码强度过低')
          return callback('密码强度过低,请按下方密码规则输入')
        }else if(/^[A-Za-z\d]+$/.test(value)) {
          this.level.push('low')
          this.level.push('middle')
          return callback('密码强度过低')
          return callback('密码强度过低,请按下方密码规则输入')
        }else if(
            /^[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、\d]+$/.test(
                value
@@ -296,7 +296,7 @@
        ) {
          this.level.push('low')
          this.level.push('middle')
          return callback('密码强度过低')
          return callback('密码强度过低,请按下方密码规则输入')
        }else if(
            /^[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、A-Za-z]+$/.test(
                value
@@ -304,7 +304,7 @@
        ) {
          this.level.push('low')
          this.level.push('middle')
          return callback('密码强度过低')
          return callback('密码强度过低,请按下方密码规则输入')
        } else if (
            /^[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、A-Za-z\d]+$/.test(
                value
@@ -383,7 +383,7 @@
               ],
               password: [{
                     required: true,
                     message: '请设置初始密码',
                     message: '请设置密码',
                     trigger: ['blur', 'change']
                  },
            {